summaryrefslogtreecommitdiffstats
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
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
-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);
}