From 07058f5a0bf1520b8f68cc8d13e5bef7231199cb Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 14:36:48 -0600 Subject: [PATCH] exit --- functions/menu.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/menu.sh b/functions/menu.sh index 5695a4f6..5910f92e 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -11,9 +11,14 @@ menu(){ echo "6 Delete a Backup" echo "7 Update HeavyScript" echo "8 Update Applications" + echo + echo "0 Exit" read -rt 600 -p "Please select an option by number: " selection case $selection in + 0) + exit + ;; 1) help="true" ;;