diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index f3fe5fbf1..e388739b6 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -61,7 +61,7 @@ void Utility::Daemonize(void) { throw_exception(PosixException("fork() failed", errno)); if (pid) - exit(0); + _exit(0); fd = open("/dev/null", O_RDWR);