diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-02 06:18:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-02 06:18:05 +0000 |
commit | 85130b92ccd6a286f5c23bcd4fc90ea29b3b3649 (patch) | |
tree | a29a4afa917946c333cfb5b6d11b77b25b174977 /perl-install/standalone.pm | |
parent | d7a404163ee60002025bdb6c6635e7f9f49c1dde (diff) | |
download | drakx-85130b92ccd6a286f5c23bcd4fc90ea29b3b3649.tar drakx-85130b92ccd6a286f5c23bcd4fc90ea29b3b3649.tar.gz drakx-85130b92ccd6a286f5c23bcd4fc90ea29b3b3649.tar.bz2 drakx-85130b92ccd6a286f5c23bcd4fc90ea29b3b3649.tar.xz drakx-85130b92ccd6a286f5c23bcd4fc90ea29b3b3649.zip |
(bug_handler) prevent looping if drakbug crashes
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r-- | perl-install/standalone.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 32255665e..721a22bd0 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -189,6 +189,10 @@ sub bug_handler { return if $error && $^S; $error .= common::backtrace() if $error; my $progname = $0; + if ($progname =~ /drakbug/) { + warn $error; + exit(1); + } $progname =~ s|.*/||; exec('drakbug', if_($error, '--error', $error), '--incident', $progname,); } |