From 6a1c216da3c49e78a64c42859d70398f5a74dbd4 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 8 Aug 2022 20:29:58 -0600 Subject: [PATCH] Spelling --- functions/menu.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/menu.sh b/functions/menu.sh index b4cd224b..a59df8c9 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -225,7 +225,7 @@ case $selection in echo "0) Exit" read -rt 120 -p "Please type a number: " selection || { echo -e "\nFailed to make a selection in time" ; exit; } if [[ $selection == 0 ]]; then - echo "Exitting.." + echo "Exiting.." exit elif ! echo -e "$app_name" | grep -qs ^"$selection)" ; then echo "Error: \"$selection\" was not an option.. Try again" @@ -253,7 +253,7 @@ case $selection in echo "0) Exit" read -rt 120 -p "Choose a container by number: " selection || { echo -e "\nFailed to make a selection in time" ; exit; } if [[ $selection == 0 ]]; then - echo "Exitting.." + echo "Exiting.." exit elif ! echo -e "$containers" | grep -qs ^"$selection)" ; then echo "Error: \"$selection\" was not an option.. Try again" @@ -272,7 +272,7 @@ case $selection in echo echo "0) Exit" read -rt 120 -p "What command would you like to run?: " command || { echo -e "\nFailed to make a selection in time" ; exit; } - [[ $command == 0 ]] && echo "Exitting.." && exit + [[ $command == 0 ]] && echo "Exiting.." && exit k3s crictl exec "$container_id" $command container=$(echo -e "$app_name" | grep ^"$selection)" | awk '{print $2}') ;;