diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-08-14 08:59:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-08-14 08:59:05 +0000 |
commit | cac1b5a8d43eb9a99e5202bab26d9e45d2ba9788 (patch) | |
tree | 50eeb85dfb813b3dff9cfa43b5ecfac19cbfca57 | |
parent | 631d1555596c82094401ecef01985628dd477eb0 (diff) | |
download | urpmi-cac1b5a8d43eb9a99e5202bab26d9e45d2ba9788.tar urpmi-cac1b5a8d43eb9a99e5202bab26d9e45d2ba9788.tar.gz urpmi-cac1b5a8d43eb9a99e5202bab26d9e45d2ba9788.tar.bz2 urpmi-cac1b5a8d43eb9a99e5202bab26d9e45d2ba9788.tar.xz urpmi-cac1b5a8d43eb9a99e5202bab26d9e45d2ba9788.zip |
Use exit() instead of POSIX::_exit() to return an exit code from urpmi. This
allows END blocks and destructors to be run, and thus fixes bug #24301. (This
used to be useful when gurpmi was a hack in urpmi instead of a standalone
application.)
-rwxr-xr-x | urpmi | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -854,5 +854,4 @@ if ($pid_err || $pid_out) { close STDOUT; } -use POSIX (); -POSIX::_exit($exit_code); +exit($exit_code); |