summaryrefslogtreecommitdiffstats
path: root/gurpm
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 /gurpm
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
Diffstat (limited to 'gurpm')
-rw-r--r--gurpm/RPMProgressDialog.pm1
1 files changed, 0 insertions, 1 deletions
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;
}