diff options
Diffstat (limited to 'sysklogd/klogd.c')
-rw-r--r-- | sysklogd/klogd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index cca6f56..fc0ed30 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c @@ -51,7 +51,8 @@ int klogd_main(int argc, char **argv) if (!(option_mask32 & OPT_FOREGROUND)) { #ifdef BB_NOMMU - vfork_daemon_rexec(0, 1, argc, argv, "-n"); + if (!re_execed) + vfork_daemon_rexec(0, 1, argv); #else bb_daemonize(); #endif |