in reply to (slightly OT) catching SIGTERM when system goes down
try to echo inside the handler sub to see if you really don't get the signal...
It isn't a good idea in general to use a fatal-signal handler for "clean-later" marks, do the clean up for fatal signals in the handler and exit there would be my general advice...
regards,
tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (slightly OT) catching SIGTERM when system goes down
by edan (Curate) on Apr 09, 2003 at 14:16 UTC | |
by Tomte (Priest) on Apr 09, 2003 at 14:26 UTC | |
by edan (Curate) on Apr 09, 2003 at 14:37 UTC | |
by Tomte (Priest) on Apr 09, 2003 at 15:16 UTC | |
by isotope (Deacon) on Apr 09, 2003 at 17:45 UTC |