diff options
Diffstat (limited to 'networking/zcip.c')
-rw-r--r-- | networking/zcip.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/networking/zcip.c b/networking/zcip.c index 8e6d8792d..e9dd05011 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -288,10 +288,7 @@ fail: | |||
288 | 288 | ||
289 | // daemonize now; don't delay system startup | 289 | // daemonize now; don't delay system startup |
290 | if (!foreground) { | 290 | if (!foreground) { |
291 | if (daemon(0, verbose) < 0) { | 291 | xdaemon(0, verbose); |
292 | why = "daemon"; | ||
293 | goto bad; | ||
294 | } | ||
295 | syslog(LOG_INFO, "start, interface %s", intf); | 292 | syslog(LOG_INFO, "start, interface %s", intf); |
296 | } | 293 | } |
297 | 294 | ||