summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-24 12:52:40 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-24 12:52:40 +0000
commit571f2a6eae7318ea45f06172bd1fd5b3c377ad38 (patch)
tree982e2de7edfe05f0a3be2769637fb8f55950057a
parented40bd7b9a8e3ede9b17f9be468421f40ce14bf4 (diff)
downloadurpmi-571f2a6eae7318ea45f06172bd1fd5b3c377ad38.tar
urpmi-571f2a6eae7318ea45f06172bd1fd5b3c377ad38.tar.gz
urpmi-571f2a6eae7318ea45f06172bd1fd5b3c377ad38.tar.bz2
urpmi-571f2a6eae7318ea45f06172bd1fd5b3c377ad38.tar.xz
urpmi-571f2a6eae7318ea45f06172bd1fd5b3c377ad38.zip
fix return value (mga#9519)
gurpm::RPMProgressDialog's DESTROY was changing $? which resulted in different return values between exit(0) and POSIX::_exit(0) value
-rw-r--r--NEWS1
-rw-r--r--gurpm/RPMProgressDialog.pm1
2 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e8c99f90..ce5073c5 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@
* always display space information
o display the addionnal space that will be used and the amount of downloaded
packages instead of the total size of the packages (like urpmi)
+ o fix return value (mga#9519)
Version 7.22 - 21 March 2013, by Thierry Vignaud
diff --git a/gurpm/RPMProgressDialog.pm b/gurpm/RPMProgressDialog.pm
index a2c1c0c0..b62bfd40 100644
--- a/gurpm/RPMProgressDialog.pm
+++ b/gurpm/RPMProgressDialog.pm
@@ -361,7 +361,6 @@ sub DESTROY {
undef $urpm;
$::main_window = $old_main_window;
- $self and $self->destroy;
$self = undef;
}