From ab6e137b6a2e4046671893327ce65513e24c09fb Mon Sep 17 00:00:00 2001 From: Ducky Date: Tue, 15 Aug 2023 07:43:37 +0200 Subject: [PATCH] various --- usr/local/libexec/zio/helpers/bash.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/local/libexec/zio/helpers/bash.sh b/usr/local/libexec/zio/helpers/bash.sh index c97b669..26dd6e9 100644 --- a/usr/local/libexec/zio/helpers/bash.sh +++ b/usr/local/libexec/zio/helpers/bash.sh @@ -34,7 +34,8 @@ function get_real_path() { function podman_exec() { container="$1" command="${@:2}" - podman exec -it $container "/bin/sh -c \"$command\"" + shell="/bin/sh" + podman exec -it $container $shell -c "$command" } function repeat() {