diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/standalone.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index dc8339662..7e86c1d7a 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -189,9 +189,12 @@ our @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::mo sub bug_handler { my ($error) = @_; + # exceptions in eval are OK: return if $error && $^S; + # we want the full backtrace: $error .= common::backtrace() if $error; my $progname = $0; + # do not loop if drakbug crashes: if ($progname =~ /drakbug/) { warn $error; exit(1); |