diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-20 16:20:01 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-20 16:27:27 +0200 |
commit | 9921c980dc294b6ce31450c2160a5247d4f04e6d (patch) | |
tree | 4f972e254c24b09aad95e25c2a7d7ad1839dc9d6 | |
parent | f93a079428db50064a1ebf24c245e22dc68d6905 (diff) | |
download | perl-URPM-9921c980dc294b6ce31450c2160a5247d4f04e6d.tar perl-URPM-9921c980dc294b6ce31450c2160a5247d4f04e6d.tar.gz perl-URPM-9921c980dc294b6ce31450c2160a5247d4f04e6d.tar.bz2 perl-URPM-9921c980dc294b6ce31450c2160a5247d4f04e6d.tar.xz perl-URPM-9921c980dc294b6ce31450c2160a5247d4f04e6d.zip |
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)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM/Resolve.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 $@; } } |