This commit is contained in:
Heavybullets8 2022-07-26 18:21:45 -06:00
parent 987bc9812c
commit 8b0b8393a1

View File

@ -14,8 +14,7 @@ menu(){
echo
echo "0) Exit"
read -rt 600 -p "Please select an option by number: " selection
while true
do
case $selection in
0)
exit
@ -170,13 +169,11 @@ menu(){
echo "$current_selection was not an option, try again" && sleep 5 && continue
fi
done
exit
;;
*)
echo "That was not an option, please try again" && sleep 5 && menu
echo "That was not an option, please try agian" && menu
;;
esac
echo
done
}
export -f menu