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