remove error messages
This commit is contained in:
parent
e331dc2deb
commit
c69d1b2983
@ -82,8 +82,8 @@ do
|
|||||||
clear -x
|
clear -x
|
||||||
title
|
title
|
||||||
|
|
||||||
if ! k3s crictl exec -it "$container_id" /bin/bash ; then
|
if ! k3s crictl exec -it "$container_id" /bin/bash 2>/dev/null; then
|
||||||
k3s crictl exec -it "$container_id" /bin/sh || echo "This container does not accept shell access, try a different one."
|
k3s crictl exec -it "$container_id" /bin/sh 2>/dev/null || echo "This container does not accept shell access, try a different one."
|
||||||
fi
|
fi
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user