ninfod: Clean up signal/logfile handling
- Do real work outside the signal handler.
- Setup logfile early.
- Do not try unlinking pid file if filename is NULL (this is not a
bug, because filename is alway set non-NULL by default.)
Signed-off-by:
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Loading
Please register or sign in to comment