summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm4
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,);
}