summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/media.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6c19f8c7..914f73db 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- prevent rpmdrake from crashing (#49354), side effect of #49226 fix
+
Version 6.25 - 31 March 2009
- downgrade cryptic log message to debug message, fixes #49226
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, $_);