Cameron Simpson wrote:
<bigsnip>
> Might I suggest you trap _only_ the normal termination signals: 1
> (hangup), 2 (interrupt, aka ^c) and 15 (termination). These are sent at
> end of session (ancestry is modem hangup), keyboard interrupt to an
> interactive command, and external termination (kill and killall's
> defunct signal) respectively.
>
> All the other signals are exception conditions and generally you do NOT
> want to catch them. They all have sensible default actions.
>
> Even the normal signals need not be trapped unless you have tidyup to do
> (removal of working files, killing of children etc).
> --
> Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Thanks for the advise. I do indeed need to clean up before shutting down. And I do
the
pid thing in the second program so I guess I might as well do it in rd too.
Thanks again,
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list