diff options
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r-- | networking/telnetd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c index ef9b1ac..5c0463b 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c @@ -415,7 +415,7 @@ int telnetd_main(int argc, char **argv) master_fd = create_and_bind_stream_or_die(opt_bindaddr, portnbr); xlisten(master_fd, 1); if (!(opt & OPT_FOREGROUND)) - xdaemon(0, 0); + bb_daemonize(DAEMON_CHDIR_ROOT); } #else sessions = make_new_session(); |