various
parent
cd7231e307
commit
ab6e137b6a
|
@ -34,7 +34,8 @@ function get_real_path() {
|
||||||
function podman_exec() {
|
function podman_exec() {
|
||||||
container="$1"
|
container="$1"
|
||||||
command="${@:2}"
|
command="${@:2}"
|
||||||
podman exec -it $container "/bin/sh -c \"$command\""
|
shell="/bin/sh"
|
||||||
|
podman exec -it $container $shell -c "$command"
|
||||||
}
|
}
|
||||||
|
|
||||||
function repeat() {
|
function repeat() {
|
||||||
|
|
Loading…
Reference in New Issue