commit | 5a142025d372ae5dff7d7cf98f442edaafd1dc30 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Mar 26 13:20:54 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Mar 26 13:20:54 2007 +0000 |
tree | 19d222f7d7040945cf92e239055dfdd00b8656bc | |
parent | bb7fcb4229fd5ff583039f26ca1c06340e3f09ea [diff] [blame] |
move everything to new NOMMU helpers, except udhcp
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index fc0ed30..6242539 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c
@@ -50,12 +50,7 @@ } if (!(option_mask32 & OPT_FOREGROUND)) { -#ifdef BB_NOMMU - if (!re_execed) - vfork_daemon_rexec(0, 1, argv); -#else - bb_daemonize(); -#endif + bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv); } openlog("kernel", 0, LOG_KERN);