aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-20 16:20:01 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-20 16:20:01 +0200
commit49d5faf692708da20ce26dd4e0b7d6ab6da2b71f (patch)
tree85cd8ec4ee07ed16931a458058ca4c595da1ead8
parentbc0a75f258d03f12496d7fd9113d81114dcac641 (diff)
downloadperl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar
perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar.gz
perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar.bz2
perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar.xz
perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.zip
fix crash introduced by mga#15353 fix (mga#19618)
rationale: - {debug_URPM} only exists if we're in debug mode - as this is an actual error, let's just always report it bug introduced in commit 070f1be3d5c3aa813f61d061c2a0fd38c2477c08
-rw-r--r--NEWS1
-rw-r--r--URPM/Resolve.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e7d0f3d..048a386 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- fix some compilation warnings
+- fix a crash introduced by mga#15353 fix if not in debug mode
Version 5.10 - 18 October 2016
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 7254da3..737ee1c 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1956,7 +1956,7 @@ sub compute_flags {
}
}
};
- $urpm->{debug_URPM}("reg ex problem: " . $@) if $@;
+ $urpm->{error}("reg ex problem: " . $@) if $@;
}
}