test
This commit is contained in:
parent
987bc9812c
commit
8b0b8393a1
@ -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
|
Loading…
Reference in New Issue
Block a user