From: Ivan Kohler Date: Wed, 8 Aug 2012 08:39:25 +0000 (-0700) Subject: avoid RT __WARN__ handler harder X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d32459cf059ff29a5ddc4b83ca2bf50a7828454b avoid RT __WARN__ handler harder --- diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index 939aa4017..b09647e18 100644 --- a/FS/FS/TicketSystem/RT_Internal.pm +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -92,7 +92,7 @@ sub init { # this needs to be done on each fork warn "$me init: initializing RT\n" if $DEBUG; { - local $SIG{__WARN}; + local $SIG{__WARN__}; local $SIG{__DIE__}; eval 'RT::Init("NoSignalHandlers"=>1);'; }