Make "1" the first selectable choice

This commit is contained in:
Uwe Seimet 2023-11-17 12:54:28 +01:00
parent 7e58f083ca
commit 3a12734a6a
1 changed files with 1 additions and 1 deletions

View File

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