summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/standalone.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 4e85eae51..ebbea86fd 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,6 @@
- drakbug:
+ o do not keep around the segfaulted process once we collected all needed data
+ when running drakbug
o regroup misc data in bugzilla
Version 13.70 - 22 November 2011
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);
}