Use sigaction(2) in the parent process. A child process no longer
commitb7055b02a3ef6613835f542ca2ef82716a24a03c
authorBen Kibbey <bjk@luxsci.net>
Thu, 11 Oct 2007 00:11:48 +0000 (10 20:11 -0400)
committerBen Kibbey <bjk@luxsci.net>
Thu, 11 Oct 2007 00:11:48 +0000 (10 20:11 -0400)
tree72ec3c96b96266d4740d8f058fccd24f6facc940
parentf254eb903e7c4df3ece8b4562c649e9dc9385a12
Use sigaction(2) in the parent process. A child process no longer
calls log_write() from it's signal handler or right before exit.
Instead the parent process logs the pid and exit status.
src/pwmd.c