mirror of
https://github.com/google/santa.git
synced 2026-01-21 03:58:11 -05:00
santad: Use _exit instead of exit after fork. Oops.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user