aboutsummaryrefslogtreecommitdiff
path: root/networking/zcip.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/zcip.c')
-rw-r--r--networking/zcip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/zcip.c b/networking/zcip.c
index c50d5abaf..c0cf665dd 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -271,9 +271,8 @@ int zcip_main(int argc, char *argv[])
271 271
272 // daemonize now; don't delay system startup 272 // daemonize now; don't delay system startup
273 if (!FOREGROUND) { 273 if (!FOREGROUND) {
274 /* bb_daemonize(); - bad, will close fd! */
275//NOMMU 274//NOMMU
276 xdaemon(0, 0); 275 bb_daemonize(DAEMON_CHDIR_ROOT);
277 bb_info_msg("start, interface %s", intf); 276 bb_info_msg("start, interface %s", intf);
278 } 277 }
279 278