Skip to content

Commit

Permalink
Fix typo (choice 0) in easyinstall.sh (PiSCSI#1372)
Browse files Browse the repository at this point in the history
* Fix typo (choice 0) in easyinstall.sh

Co-authored-by: Frank Danapfel
  • Loading branch information
uweseimet authored and rdmark committed May 1, 2024
1 parent 507bfc1 commit ddfd40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easyinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1507,8 +1507,8 @@ function runChoice() {
function readChoice() {
choice=-1

until [ $choice -ge "0" ] && ([ $choice -eq "99" ] || [ $choice -le "17" ]) ; do
echo -n "Enter your choice (0-17) or CTRL-C to exit: "
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

Expand Down

0 comments on commit ddfd40d

Please sign in to comment.