From 1c0e223648f2ceba1b8553be21d69c95628f5a47 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 9 Aug 2022 22:27:16 -0600 Subject: [PATCH] cleanup --- functions/cmd_to_container.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/functions/cmd_to_container.sh b/functions/cmd_to_container.sh index d86e82b4..ef378b14 100644 --- a/functions/cmd_to_container.sh +++ b/functions/cmd_to_container.sh @@ -69,7 +69,6 @@ do echo "Exiting.." exit ;; - 1) clear -x title @@ -77,17 +76,14 @@ do k3s crictl exec -it "$container_id" $command break ;; - 2) clear -x title - if ! k3s crictl exec -it "$container_id" /bin/bash 2>/dev/null; then k3s crictl exec -it "$container_id" /bin/sh 2>/dev/null || echo "This container does not accept shell access, try a different one." fi break ;; - *) echo "That was not an option.. Try again" sleep 3