summaryrefslogtreecommitdiff
path: root/lib/base.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.pm')
-rw-r--r--lib/base.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.pm b/lib/base.pm
index abbacb6b34..be4c667e67 100644
--- a/lib/base.pm
+++ b/lib/base.pm
@@ -100,7 +100,7 @@ Base class package "$base" is empty.
or make that module available in \@INC (\@INC contains: @INC).
ERROR
}
- $sigdie = $SIG{__DIE__};
+ $sigdie = $SIG{__DIE__} || undef;
}
# Make sure a global $SIG{__DIE__} makes it out of the localization.
$SIG{__DIE__} = $sigdie if defined $sigdie;