mirror of https://github.com/akuker/RASCSI.git
Make "1" the first selectable choice
This commit is contained in:
parent
7e58f083ca
commit
3a12734a6a
|
@ -1503,7 +1503,7 @@ function runChoice() {
|
|||
function readChoice() {
|
||||
choice=-1
|
||||
|
||||
until [ $choice -ge "0" ] && ([ $choice -eq "99" ] || [ $choice -le "17" ]) ; do
|
||||
until [ $choice -ge "1" ] && ([ $choice -eq "99" ] || [ $choice -le "17" ]) ; do
|
||||
echo -n "Enter your choice (1-17) or CTRL-C to exit: "
|
||||
read -r choice
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue