projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
770f3a7
)
avoid RT __WARN__ handler harder
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Aug 2012 08:38:35 +0000
(
01:38
-0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Aug 2012 08:38:35 +0000
(
01:38
-0700)
FS/FS/TicketSystem/RT_Internal.pm
patch
|
blob
|
history
diff --git
a/FS/FS/TicketSystem/RT_Internal.pm
b/FS/FS/TicketSystem/RT_Internal.pm
index
e2dfce3
..
939aa40
100644
(file)
--- 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);';
}