diff --git a/functions/cmd_to_container.sh b/functions/cmd_to_container.sh index 49b8ab29..e7603d74 100644 --- a/functions/cmd_to_container.sh +++ b/functions/cmd_to_container.sh @@ -82,7 +82,7 @@ do clear -x title - if ! k3s crictl exec -it "$container_id" /bin/bash && $? != 130 ; then + if ! k3s crictl exec -it "$container_id" /bin/bash ; then k3s crictl exec -it "$container_id" /bin/sh fi break