diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-05 14:51:11 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-05 14:51:11 +0000 |
commit | df5f0f719905089569c677d6140930f24d09cceb (patch) | |
tree | 9e060c61935d57738122c8d98aa6a166394e3f1a | |
parent | 21d9cc99f94ecef7f4d28cd6d9a87de04d9c3a7f (diff) | |
download | urpmi-df5f0f719905089569c677d6140930f24d09cceb.tar urpmi-df5f0f719905089569c677d6140930f24d09cceb.tar.gz urpmi-df5f0f719905089569c677d6140930f24d09cceb.tar.bz2 urpmi-df5f0f719905089569c677d6140930f24d09cceb.tar.xz urpmi-df5f0f719905089569c677d6140930f24d09cceb.zip |
fix exitcode always true when running in gurpmi mode, by
using _exit instead of exit, probably some atexit gtk
stuff in the way
-rwxr-xr-x | urpmi | 2 | ||||
-rw-r--r-- | urpmi.spec | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -794,7 +794,7 @@ if ($pid_err && $pid_out) { close STDOUT; } -exit $exit_code; +POSIX::_exit $exit_code; sub toMb { my $nb = $_[0] / 1024 / 1024; @@ -1,6 +1,6 @@ %define name urpmi %define version 4.4 -%define release 42mdk +%define release 43mdk %define group System/Configuration/Packaging Name: %{name} @@ -226,6 +226,10 @@ $urpm->update_media(nolock => 1, nopubkey => 1); %{perl_vendorlib}/urpm/parallel_ssh.pm %changelog +* Wed Nov 5 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 4.4-43mdk +- urpmi: fix exitcode always true when running in gurpmi mode, by + using _exit instead of exit, probably some atexit gtk stuff in the way + * Wed Nov 05 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 4.4-42mdk - added bash-completion - spec cleanup |