santad: Use _exit instead of exit after fork. Oops.

This commit is contained in:
Russell Hancox
2015-06-01 17:12:12 -04:00
parent be9dca3ee2
commit 2a8bdfd714

View File

@@ -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));
}
}