diff options
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/start_stop_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 02609c04f..495ed0a09 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -474,7 +474,7 @@ int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv) | |||
474 | *--argv = startas; | 474 | *--argv = startas; |
475 | if (opt & OPT_BACKGROUND) { | 475 | if (opt & OPT_BACKGROUND) { |
476 | #if BB_MMU | 476 | #if BB_MMU |
477 | bb_daemonize(DAEMON_DEVNULL_STDIO + DAEMON_CLOSE_EXTRA_FDS); | 477 | bb_daemonize(DAEMON_DEVNULL_STDIO + DAEMON_CLOSE_EXTRA_FDS + DAEMON_DOUBLE_FORK); |
478 | /* DAEMON_DEVNULL_STDIO is superfluous - | 478 | /* DAEMON_DEVNULL_STDIO is superfluous - |
479 | * it's always done by bb_daemonize() */ | 479 | * it's always done by bb_daemonize() */ |
480 | #else | 480 | #else |