From c7c3be0d95a7a5ad3368d0d6ed0105add3e44313 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Fri, 29 Jul 2022 01:26:47 -0600 Subject: [PATCH] exit for updates menu --- functions/menu.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/menu.sh b/functions/menu.sh index 710a144a..8330cc33 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -127,12 +127,18 @@ case $selection in echo "99) Remove Update Options, Restart" echo "00) Done making selections, proceed with update" echo + echo "0) Exit" + echo echo "Current Choices" echo "---------------" echo "bash heavy_script.sh ${update_selection[*]}" echo read -rt 600 -p "Type the Number OR Flag: " current_selection case $current_selection in + 0) + echo "Exiting.." + exit + ;; 00) clear -x echo "Running \"bash heavy_script.sh ${update_selection[*]}\""