summaryrefslogtreecommitdiffstats
path: root/bind.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-04 15:42:09 +0000
committerRoy Marples <roy@marples.name>2008-09-04 15:42:09 +0000
commit7e0d51b1903615a3daae0dbc859359b33b23fd10 (patch)
tree17cdcaa25100e1b2ff0680df5daceaf9adfe2197 /bind.c
parent15eb50d78c45f16663e242f6b4ef1b71ea230efc (diff)
downloaddhcpcd-7e0d51b1903615a3daae0dbc859359b33b23fd10.tar.xz
Mark as daemonised correctly.
Diffstat (limited to 'bind.c')
-rw-r--r--bind.c1
1 files changed, 1 insertions, 0 deletions
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;
}