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
commita458c52cdacc9411c8187e33aeed000678a61cfc (patch)
tree7418b72914c813b08b8b2fa9276fecf1c7046ca1 /perl-install/standalone.pm
parent180c89e87b8f0507e8838de1127417dd4a7b8ef9 (diff)
downloaddrakx-a458c52cdacc9411c8187e33aeed000678a61cfc.tar
drakx-a458c52cdacc9411c8187e33aeed000678a61cfc.tar.gz
drakx-a458c52cdacc9411c8187e33aeed000678a61cfc.tar.bz2
drakx-a458c52cdacc9411c8187e33aeed000678a61cfc.tar.xz
drakx-a458c52cdacc9411c8187e33aeed000678a61cfc.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);
}