From: Roy Marples Date: Thu, 4 Sep 2008 15:42:09 +0000 (+0000) Subject: Mark as daemonised correctly. X-Git-Tag: v5.0.0~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e0d51b1903615a3daae0dbc859359b33b23fd10;p=thirdparty%2Fdhcpcd.git Mark as daemonised correctly. --- diff --git a/bind.c b/bind.c index 22cfd045..6e7367fc 100644 --- a/bind.c +++ b/bind.c @@ -93,6 +93,7 @@ daemonise(void) pidfd = -1; exit(EXIT_SUCCESS); } + daemonised = 1; sigprocmask(SIG_SETMASK, &old, NULL); return pid; }