aboutsummaryrefslogtreecommitdiff
path: root/networking/zcip.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/zcip.c')
-rw-r--r--networking/zcip.c5
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:
// daemonize now; don't delay system startup
if (!foreground) {
- if (daemon(0, verbose) < 0) {
- why = "daemon";
- goto bad;
- }
+ xdaemon(0, verbose);
syslog(LOG_INFO, "start, interface %s", intf);
}