From 2a8bdfd7141d41bc67a244ced8a5e565cf9dc876 Mon Sep 17 00:00:00 2001 From: Russell Hancox Date: Mon, 1 Jun 2015 17:12:12 -0400 Subject: [PATCH] santad: Use _exit instead of exit after fork. Oops. --- Source/santad/SNTExecutionController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/santad/SNTExecutionController.m b/Source/santad/SNTExecutionController.m index 9a429183..ad817d28 100644 --- a/Source/santad/SNTExecutionController.m +++ b/Source/santad/SNTExecutionController.m @@ -266,11 +266,11 @@ // Ensure we have no privileges if (!DropRootPrivileges()) { - exit(1); + _exit(1); } - exit(execl("/usr/sbin/santactl", "/usr/sbin/santactl", "sync", - "singleevent", [sha256 UTF8String], NULL)); + _exit(execl("/usr/sbin/santactl", "/usr/sbin/santactl", "sync", + "singleevent", [sha256 UTF8String], NULL)); } }