diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-26 13:20:54 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-26 13:20:54 +0000 |
commit | 25780f7e6377a2d827e5ffad7a8701c0f14fe1aa (patch) | |
tree | 19d222f7d7040945cf92e239055dfdd00b8656bc /debianutils/start_stop_daemon.c | |
parent | 922db9aa31d3d21cbfa631ee88b7159f34319cc2 (diff) | |
download | busybox-w32-25780f7e6377a2d827e5ffad7a8701c0f14fe1aa.tar.gz busybox-w32-25780f7e6377a2d827e5ffad7a8701c0f14fe1aa.tar.bz2 busybox-w32-25780f7e6377a2d827e5ffad7a8701c0f14fe1aa.zip |
move everything to new NOMMU helpers, except udhcp
git-svn-id: svn://busybox.net/trunk/busybox@18242 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-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 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) | |||
299 | } | 299 | } |
300 | *--argv = startas; | 300 | *--argv = startas; |
301 | if (opt & OPT_BACKGROUND) { | 301 | if (opt & OPT_BACKGROUND) { |
302 | setsid(); | 302 | bb_daemonize(0); |
303 | bb_daemonize(); | ||
304 | } | 303 | } |
305 | if (opt & OPT_MAKEPID) { | 304 | if (opt & OPT_MAKEPID) { |
306 | /* user wants _us_ to make the pidfile */ | 305 | /* user wants _us_ to make the pidfile */ |