From c4583d1531a5e8edea71a4e3c33d10e261ae9a07 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 14 Jul 2009 03:14:49 +0000 Subject: [PATCH] fix warnings, from RT merge fallout --- htetc/handler.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htetc/handler.pl b/htetc/handler.pl index a9431d3a8..711c32a4b 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -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); } -- 2.11.0