[rt-users] Scrips firing at will - huh?

Leif Nixon nixon at nsc.liu.se
Tue Dec 6 11:02:08 EST 2005


Todd Chapman <todd at chaka.net> writes:

> Looking at your scrip, I don't think you should be calling die
> from a scrip. You should log the error with $RT::Logger->error
> and then return 0.

Thanks for the tip. I didn't really write that code myself, it was the
result of some serious cargo cult programming that has sort of
propagated through our RT servers... I'll definitely rewrite it.

-- 
Leif Nixon                       -            Systems expert
------------------------------------------------------------
National Supercomputer Centre    -      Linkoping University
------------------------------------------------------------



More information about the rt-users mailing list