From 2e06b25dd62fd3f0934b5ef55ed88b3eaf1d7583 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 16:21:03 -0600 Subject: [PATCH] else statement --- functions/menu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/menu.sh b/functions/menu.sh index bc79d7b8..ec2e57c9 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -117,7 +117,9 @@ menu(){ elif [[ $current_selection == 7 ]]; then update_selection+=("-s") elif [[ $current_selection == 8 ]]; then - update_selection+=("-p") + update_selection+=("-p") + else + echo "$current_selection was not an option, try again" fi done ;;