diff options
Diffstat (limited to 'networking/isrv_identd.c')
-rw-r--r-- | networking/isrv_identd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/isrv_identd.c b/networking/isrv_identd.c index f9ab0b2..c230c7e 100644 --- a/networking/isrv_identd.c +++ b/networking/isrv_identd.c @@ -112,7 +112,9 @@ int fakeidentd_main(int argc, char **argv) bogouser = argv[optind]; /* Daemonize if no -f and no -i and no -w */ - bb_sanitize_stdio_maybe_daemonize(!(opt & OPT_fiw)); + if (!(opt & OPT_fiw)); + bb_daemonize_or_rexec(0, argv); + /* Where to log in inetd modes? "Classic" inetd * probably has its stderr /dev/null'ed (we need log to syslog?), * but daemontools-like utilities usually expect that children |