diff options
-rw-r--r-- | rebootin | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; } |