From 5a142025d372ae5dff7d7cf98f442edaafd1dc30 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 26 Mar 2007 13:20:54 +0000 Subject: move everything to new NOMMU helpers, except udhcp --- debianutils/start_stop_daemon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'debianutils/start_stop_daemon.c') diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 1862f113d..60a78793e 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 */ -- cgit v1.2.3