From 9921c980dc294b6ce31450c2160a5247d4f04e6d 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 (cherry picked from commit 49d5faf692708da20ce26dd4e0b7d6ab6da2b71f) --- NEWS | 2 ++ URPM/Resolve.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8900010..a1a9672 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix a crash introduced by mga#15353 fix if not in debug mode (mga#19618) + Version 5.06.2 - 16 October 2016 - don't crash if /etc/urpmi/skip.list RE is wrong (mga#15353) diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 38781cc..5eec9f1 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1955,7 +1955,7 @@ sub compute_flags { } } }; - $urpm->{debug_URPM}("reg ex problem: " . $@) if $@; + $urpm->{error}("reg ex problem: " . $@) if $@; } } -- cgit v1.2.1