From b4a95362dd5bd4ac44497a57eb4d5275af2b0eea Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 22 Nov 2011 21:52:48 +0000 Subject: (bug_handler) do not keep around the segfaulted process once we collected all needed data when running drakbug this eats memory for nothing --- perl-install/NEWS | 2 ++ perl-install/standalone.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') 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); } -- cgit v1.2.1