diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2010-03-15 08:58:35 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2010-03-15 08:58:35 +0000 |
commit | 156a1661a6120b7c32c1fd1d55cbd5c84ff3752a (patch) | |
tree | f3121dfb533ca0a6498e1b6fa98a1a578e215277 | |
parent | 5cf13d95739320373dd74300a4017a1e4909eb68 (diff) |
Notes
-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 ba2a542bfb78a..b359a87aa6436 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); } |