diff options
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/start_stop_daemon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 1862f11..60a7879 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c @@ -299,8 +299,7 @@ int start_stop_daemon_main(int argc, char **argv) } *--argv = startas; if (opt & OPT_BACKGROUND) { - setsid(); - bb_daemonize(); + bb_daemonize(0); } if (opt & OPT_MAKEPID) { /* user wants _us_ to make the pidfile */ |