[PATCH] Utilities: clean up become_daemon
Martin Schwenke
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,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba.patch
Type: text/x-patch
Size: 15726 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170816/bfccae92/samba.bin>
More information about the samba-technical
mailing list