summaryrefslogtreecommitdiff
path: root/htetc/handler.pl
diff options
context:
space:
mode:
Diffstat (limited to 'htetc/handler.pl')
-rw-r--r--htetc/handler.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/htetc/handler.pl b/htetc/handler.pl
index 4ce658685..952d6203b 100644
--- a/htetc/handler.pl
+++ b/htetc/handler.pl
@@ -76,8 +76,8 @@ sub handler
RT::Init() if $RT::VERSION; #for lack of something else
#we don't want the RT error handlers under FS
- undef $SIG{__WARN__};
- undef $SIG{__DIE__};
+ undef $SIG{__WARN__} if defined($SIG{__WARN__});
+ undef $SIG{__DIE__} if defined($SIG{__DIE__} );
$ah->interp($fs_interp);