From e5b99d4fa954f347d1881438a0a1a5c4200d8170 Mon Sep 17 00:00:00 2001 From: Uwe Seimet <48174652+uweseimet@users.noreply.github.com> Date: Fri, 17 Nov 2023 13:00:03 +0100 Subject: [PATCH] Fix typo (choice 0) in easyinstall.sh (#1372) * Fix typo (choice 0) in easyinstall.sh Co-authored-by: Frank Danapfel --- easyinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easyinstall.sh b/easyinstall.sh index 8c9394ef..183c9c82 100755 --- a/easyinstall.sh +++ b/easyinstall.sh @@ -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