summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/standalone.pm6
2 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 93a927ae3..988d2a601 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
- drakbug:
+ o enable to disable it trough the DISABLE_DRAKBUG environment variable
o fix sizing some labels (workarounding infamous 6 years old gnome
bug #101968)
- harddrake: auto-configure floppies
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index 994ff7edc..d9dae154e 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -217,8 +217,10 @@ sub bug_handler {
c::_exit(1);
}
-$SIG{SEGV} = sub { bug_handler(@_, 1) };
-$SIG{__DIE__} = \&bug_handler;
+if (!$ENV{DISABLE_DRAKBUG}) {
+ $SIG{SEGV} = sub { bug_handler(@_, 1) };
+ $SIG{__DIE__} = \&bug_handler;
+}
sub import() {
($standalone_name = $0) =~ s|.*/||;