]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[120-macos_exit] exit -> _exit 120-macos_exit
authorFrancis Dupont <fdupont@isc.org>
Fri, 14 Sep 2018 14:09:13 +0000 (16:09 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sun, 30 Sep 2018 19:35:53 +0000 (15:35 -0400)
src/lib/process/tests/daemon_unittest.cc

index c5bb7fdc65a69854b6f75ed068c64c1bbc3fa71f..cd32f0c088c4532754b1f24de80ccb662a238a58 100644 (file)
@@ -213,7 +213,7 @@ TEST_F(DaemonTest, createPIDFileOverwrite) {
 
     if (pid == 0) {
         // This is the child, die right away. Tragic, no?
-        exit (0);
+        _exit (0);
     }
 
     // Back in the parent test, we need to wait for the child to die