busybox/printutils
Denys Vlasenko b182e9ad60 libbb: use _exit, not exit, in bb_daemonize_or_rexec()
By the time we reach exit in parent, child already exited or execed.
We should not re-run libc cleanup code.

While at it, introduce bb_daemon_helper() and add a few comments.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-08-04 23:04:17 +02:00
..
Config.src
Kbuild.src
lpd.c libbb: use _exit, not exit, in bb_daemonize_or_rexec() 2017-08-04 23:04:17 +02:00
lpr.c