summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];
}