correct var

This commit is contained in:
Heavybullets8 2022-07-26 23:34:50 -06:00
parent 20ed6d7bab
commit f97d4be481

View File

@ -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