summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index c30ac585..92e46c9e 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -643,7 +643,7 @@ sub parse_media {
if ($_->{searchmedia}) {
$urpm->{searchmedia} = 1;
- $urpm->{debug}("Search start: %s end: %s", $_->{start}, $_->{end});
+ $urpm->{debug} and $urpm->{debug}("Search start: %s end: %s", $_->{start}, $_->{end});
}
$< == 0 and _generate_medium_names($urpm, $_);