From f97d4be4815e3b8135a6dbdb03ebe11c0be6d950 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 23:34:50 -0600 Subject: [PATCH] correct var --- functions/menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/menu.sh b/functions/menu.sh index b4145a9d..057a700f 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -185,13 +185,13 @@ case $selection in continue ;; *) - echo "\"$OPTARG\" was not an option, try again" && sleep 5 && continue + echo "\"$current_selection\" was not an option, try again" && sleep 5 && continue ;; esac done ;; *) - echo "\"$OPTARG\" was not an option, please try agian" && sleep 5 && menu + echo "\"$selection\" was not an option, please try agian" && sleep 5 && menu ;; esac echo