Mac installer: fix a bug in error recovery logic

This commit is contained in:
Charlie Fenton 2013-10-22 00:38:45 -07:00
parent 03cc6849c7
commit 469dd5ad61
1 changed files with 2 additions and 0 deletions

View File

@ -892,6 +892,8 @@ Boolean SetLoginItemOSAScript(long brandID, Boolean deleteLogInItem, char *userN
if (i >= 50) {
fprintf(stdout, "Failed to make System Events quit\n");
fflush(stdout);
err = noErr;
goto cleanupSystemEvents;
}
sleep(2);
}