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:20:01 +0200 |
commit | 49d5faf692708da20ce26dd4e0b7d6ab6da2b71f (patch) | |
tree | 85cd8ec4ee07ed16931a458058ca4c595da1ead8 | |
parent | bc0a75f258d03f12496d7fd9113d81114dcac641 (diff) | |
download | perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar.gz perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar.bz2 perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.tar.xz perl-URPM-49d5faf692708da20ce26dd4e0b7d6ab6da2b71f.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
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | URPM/Resolve.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 $@; } } |