summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-11 23:17:35 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-11 23:17:35 +0000
commitf562ef2b8cfcb74938e569cf984cf3baf6ab87fd (patch)
treee06cda3bc22f000dcc5b407bedfb1cdb9dc6c4ac
parentf34cf67bc094e0131c81a33eb507eace581c9a4c (diff)
downloadbootloader-utils-f562ef2b8cfcb74938e569cf984cf3baf6ab87fd.tar
bootloader-utils-f562ef2b8cfcb74938e569cf984cf3baf6ab87fd.tar.gz
bootloader-utils-f562ef2b8cfcb74938e569cf984cf3baf6ab87fd.tar.bz2
bootloader-utils-f562ef2b8cfcb74938e569cf984cf3baf6ab87fd.tar.xz
bootloader-utils-f562ef2b8cfcb74938e569cf984cf3baf6ab87fd.zip
Oops use right operator
-rw-r--r--rebootin2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebootin b/rebootin
index 25d34fa..b4c074e 100644
--- a/rebootin
+++ b/rebootin
@@ -63,7 +63,7 @@ sub select_entry {
print "> ";
$userinput = <STDIN>;
chomp $userinput;
- } while ($userinput ge $i);
+ } while ($userinput > $i);
exit(1) unless $userinput;
$entries[$userinput-1];
}