fix warnings, from RT merge fallout
authorivan <ivan>
Tue, 14 Jul 2009 03:14:49 +0000 (03:14 +0000)
committerivan <ivan>
Tue, 14 Jul 2009 03:14:49 +0000 (03:14 +0000)
htetc/handler.pl

index a9431d3..711c32a 100644 (file)
@@ -69,8 +69,15 @@ sub handler
 
     } else {
 
+      local $SIG{__WARN__};
+      local $SIG{__DIE__};
+
       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__};
+
       $ah->interp($fs_interp);
 
     }