error message upon both sh and bash failure
This commit is contained in:
parent
7842b83700
commit
9c1258e02e
@ -83,7 +83,7 @@ do
|
||||
title
|
||||
|
||||
if ! k3s crictl exec -it "$container_id" /bin/bash ; then
|
||||
k3s crictl exec -it "$container_id" /bin/sh
|
||||
k3s crictl exec -it "$container_id" /bin/sh || echo "This application does not accept shell access apparently"
|
||||
fi
|
||||
break
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user