From bbc003b77d2070f53a29a84cccce530f01db691e Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Sep 2009 19:45:38 +0000 Subject: [PATCH] eliminate "Use of uninitialized value in undef operator at /etc/freeside/handler.pl line 79/80" errors --- htetc/handler.pl | 4 ++-- 1 file 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); -- 2.11.0