diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-08-08 01:38:35 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-08-08 01:38:35 -0700 |
commit | 7d4cd63e56dbfcb5020faba2c9a274e3afd6d417 (patch) | |
tree | 1825558a6894fbdc7e96185cb3eda03a85d10fb9 /FS/FS/TicketSystem | |
parent | 770f3a75102d13771e1daeb46f2a9c9108f615ba (diff) |
avoid RT __WARN__ handler harder
Diffstat (limited to 'FS/FS/TicketSystem')
-rw-r--r-- | FS/FS/TicketSystem/RT_Internal.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index e2dfce3..939aa40 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);'; } |