various
parent
a21d862aa4
commit
cd7231e307
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function container_exec() {
|
||||
podman_exec $@
|
||||
}
|
||||
|
||||
function die() {
|
||||
say error "$@"
|
||||
exit 255
|
||||
|
@ -30,7 +34,7 @@ function get_real_path() {
|
|||
function podman_exec() {
|
||||
container="$1"
|
||||
command="${@:2}"
|
||||
podman exec -it $container "$command"
|
||||
podman exec -it $container "/bin/sh -c \"$command\""
|
||||
}
|
||||
|
||||
function repeat() {
|
||||
|
|
Loading…
Reference in New Issue