diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/daemon.c b/lib/libc/gen/daemon.c index ba2a542..b359a87 100644 --- a/lib/libc/gen/daemon.c +++ b/lib/libc/gen/daemon.c @@ -64,6 +64,10 @@ daemon(nochdir, noclose) case 0: break; default: + /* + * A fine point: _exit(0), not exit(0), to avoid triggering + * atexit(3) processing + */ _exit(0); } |