From 194500bbf0a3fbb637470cf6a8bfb7df9e7c376c Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 17:01:00 -0600 Subject: [PATCH] test --- functions/menu.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions/menu.sh b/functions/menu.sh index 304c2cd1..d6296e10 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -99,12 +99,15 @@ menu(){ echo echo "0) Done making selections, proceed with update" echo - read -rt 600 -p "Please type the number associated with the flag above: " current_selection - + echo "Current Choices" + echo "---------------" for i in "${update_selection[@]}" do echo "$i" done + read -rt 600 -p "Please type the number associated with the flag above: " current_selection + + if [[ $current_selection == 0 ]]; then exec bash "$script_name" "${update_selection[@]}" exit