error message upon both sh and bash failure

This commit is contained in:
Heavybullets8 2022-08-09 22:11:07 -06:00
parent 7842b83700
commit 9c1258e02e

View File

@ -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
;;