From 7d4cd63e56dbfcb5020faba2c9a274e3afd6d417 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 8 Aug 2012 01:38:35 -0700 Subject: [PATCH] avoid RT __WARN__ handler harder --- FS/FS/TicketSystem/RT_Internal.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index e2dfce373..939aa4017 100644 --- a/FS/FS/TicketSystem/RT_Internal.pm +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -92,6 +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{__DIE__}; eval 'RT::Init("NoSignalHandlers"=>1);'; } -- 2.11.0