summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmf b/urpmf
index fd67412b..ab681795 100755
--- a/urpmf
+++ b/urpmf
@@ -120,7 +120,7 @@ if ($full) { $qf =~ s/%name\b/%fullname/ }
#- we really don't want logs on stdout, and remove verbose if not asked.
$urpm->{info} = sub { print STDERR "$_[0]\n" };
-$urpm->{log} = $options{verbose} ? sub { print STDERR "$_[0]\n" } : sub {};
+$urpm->{log} = sub { print STDERR "$_[0]\n" } if $options{verbose} > 0;
my $multitag = '';
my %multitags = map { $_ => 1 } qw(conffiles conflicts files obsoletes provides requires);