]> git.ipfire.org Git - thirdparty/lldpd.git/commit
priv: mirror the exit status of the child
authorVincent Bernat <bernat@luffy.cx>
Mon, 7 Jan 2013 20:59:32 +0000 (21:59 +0100)
committerVincent Bernat <bernat@luffy.cx>
Mon, 7 Jan 2013 20:59:32 +0000 (21:59 +0100)
commitcdf67f33be48a1f68351fef8eafe0c22838c2f02
treeac8a614cf6229f06f51f52983be1627fed58f1b1
parent322aafc99739dd509a95110045cbba4f327e3f4e
priv: mirror the exit status of the child

When exiting because the child has exited, the privileged processus
will mirror the exit status and the signal that killed the child if
any. This allows monitoring daemon like systemd to detect an
unexpected exit.
src/daemon/priv.c