From 49d5faf692708da20ce26dd4e0b7d6ab6da2b71f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 20 Oct 2016 16:20:01 +0200 Subject: 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 --- NEWS | 1 + URPM/Resolve.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 $@; } } -- cgit v1.2.1