summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-05-13 16:41:40 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-05-13 16:41:40 +0000
commit930fdc0fb37c9da77f34c57376af311b672361b0 (patch)
treee77d62c77f49640493608b55ed16dc2949af8067 /urpm
parent6cf4e3cacde2462a720484b18f1ffa3194b56e80 (diff)
downloadurpmi-930fdc0fb37c9da77f34c57376af311b672361b0.tar
urpmi-930fdc0fb37c9da77f34c57376af311b672361b0.tar.gz
urpmi-930fdc0fb37c9da77f34c57376af311b672361b0.tar.bz2
urpmi-930fdc0fb37c9da77f34c57376af311b672361b0.tar.xz
urpmi-930fdc0fb37c9da77f34c57376af311b672361b0.zip
Missing changes in the last revision (urpmi v1.249)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/msg.pm2
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;
}