From 469dd5ad611bfd00613e3bcef772ab8f17c77a55 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 22 Oct 2013 00:38:45 -0700 Subject: [PATCH] Mac installer: fix a bug in error recovery logic --- mac_installer/PostInstall.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mac_installer/PostInstall.cpp b/mac_installer/PostInstall.cpp index 8a125fc578..87a613d081 100644 --- a/mac_installer/PostInstall.cpp +++ b/mac_installer/PostInstall.cpp @@ -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); }