summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-10 17:13:40 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-10 17:13:40 +0000
commit6e273cc7705f9d897adcf9aca05fad4b7409d3e8 (patch)
treeeb296cb8f421e769a153639a038c11a35d0e6fe4 /urpmf
parent5bd63030f44e02e51ed139a93f87f568424ddb2b (diff)
downloadurpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar
urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar.gz
urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar.bz2
urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.tar.xz
urpmi-6e273cc7705f9d897adcf9aca05fad4b7409d3e8.zip
4.2-31mdk
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmf b/urpmf
index 522f3910..00623a89 100755
--- a/urpmf
+++ b/urpmf
@@ -62,7 +62,7 @@ my $update = 0;
my $media = '';
my $synthesis = '';
my $verbose = 0;
-my $quiet = undef;
+my $quiet;
my $pattern = '';
my $full = '';
my %params;
@@ -97,7 +97,7 @@ while (defined($_ = shift @ARGV)) {
my $urpm = new urpm;
$verbose or $urpm->{log} = sub {};
-for (scalar(keys %params)) {
+foreach (scalar(keys %params)) {
$_ eq 0 and do { defined $quiet or $quiet = 1; $params{files} = 1 };
$_ eq 1 and do { defined $quiet or $quiet = 1 };
$_ > 1 and do { defined $quiet or $quiet = 0 };