[PATCH] Utilities: clean up become_daemon
martin at meltin.net
Wed Aug 16 10:51:41 UTC 2017
We would like to use become_daemon in CTDB. Here are some clean ups.
The only real functional change is the addition of some error checking
in become_daemon() itself, so that we notice fails fork() and setsid().
This passes a private autobuild.
Please review and maybe push...
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15726 bytes
Desc: not available
More information about the samba-technical