diff options
| author | Roy Marples <roy@marples.name> | 2008-09-04 15:42:09 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-04 15:42:09 +0000 |
| commit | 7e0d51b1903615a3daae0dbc859359b33b23fd10 (patch) | |
| tree | 17cdcaa25100e1b2ff0680df5daceaf9adfe2197 /bind.c | |
| parent | 15eb50d78c45f16663e242f6b4ef1b71ea230efc (diff) | |
| download | dhcpcd-7e0d51b1903615a3daae0dbc859359b33b23fd10.tar.xz | |
Mark as daemonised correctly.
Diffstat (limited to 'bind.c')
| -rw-r--r-- | bind.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -93,6 +93,7 @@ daemonise(void) pidfd = -1; exit(EXIT_SUCCESS); } + daemonised = 1; sigprocmask(SIG_SETMASK, &old, NULL); return pid; } |
