From 930fdc0fb37c9da77f34c57376af311b672361b0 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 13 May 2004 16:41:40 +0000 Subject: Missing changes in the last revision (urpmi v1.249) --- urpm/msg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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; } -- cgit v1.2.1