mirror of https://github.com/BOINC/boinc.git
Mac: Better error-handling in sandbox setup code
svn path=/trunk/boinc/; revision=14105
This commit is contained in:
parent
5a757f73f6
commit
50487a68c5
|
@ -901,7 +901,7 @@ OSStatus DoPrivilegedExec(const char *pathToTool, char *arg1, char *arg2, char *
|
|||
args[5] = NULL;
|
||||
|
||||
err = AuthorizationExecuteWithPrivileges (gOurAuthRef, pathToTool, 0, args, &ioPipe);
|
||||
if (err = noErr) {
|
||||
if (err == noErr) {
|
||||
if (ioPipe) {
|
||||
// We use the pipe to signal us when the command has completed
|
||||
do {
|
||||
|
|
Loading…
Reference in New Issue