diff options
Diffstat (limited to 'urpm/msg.pm')
-rw-r--r-- | urpm/msg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm index e7315735..bff6be5f 100644 --- a/urpm/msg.pm +++ b/urpm/msg.pm @@ -73,7 +73,7 @@ sub message_input { if ($opts{boolean}) { $input =~ /^[$noexpr$yesexpr]*$/ and last; } elsif ($opts{range}) { - 1 <= $input && $input <= $opts{range} and last; + (defined $opts{range_min} ? $opts{range_min} : 1) <= $input && $input <= $opts{range} and last; } else { last; } |