summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-11-22 21:52:48 +0000
committerThierry Vignaud <tv@mageia.org>2011-11-22 21:52:48 +0000
commitb4a95362dd5bd4ac44497a57eb4d5275af2b0eea (patch)
tree7418b72914c813b08b8b2fa9276fecf1c7046ca1 /perl-install/standalone.pm
parentd9314ca2d3125fffe2cb625912b18a69f8ef6411 (diff)
downloaddrakx-backup-do-not-use-b4a95362dd5bd4ac44497a57eb4d5275af2b0eea.tar
drakx-backup-do-not-use-b4a95362dd5bd4ac44497a57eb4d5275af2b0eea.tar.gz
drakx-backup-do-not-use-b4a95362dd5bd4ac44497a57eb4d5275af2b0eea.tar.bz2
drakx-backup-do-not-use-b4a95362dd5bd4ac44497a57eb4d5275af2b0eea.tar.xz
drakx-backup-do-not-use-b4a95362dd5bd4ac44497a57eb4d5275af2b0eea.zip
(bug_handler) do not keep around the segfaulted process once we
collected all needed data when running drakbug this eats memory for nothing
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index 7a9a8aa81..33ad126aa 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -216,7 +216,7 @@ sub bug_handler {
exit(1);
}
$progname =~ s|.*/||;
- system('drakbug', if_($error, '--error', $error), '--incident', $progname);
+ exec('drakbug', if_($error, '--error', $error), '--incident', $progname);
c::_exit(1);
}