From cf3674b2d712055fd1e219775518147ed24f5bff Mon Sep 17 00:00:00 2001 From: Zorg Date: Mon, 7 Mar 2016 23:15:40 -0500 Subject: [PATCH] Exit on failure here --- Sparkle/Autoupdate/Autoupdate.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sparkle/Autoupdate/Autoupdate.m b/Sparkle/Autoupdate/Autoupdate.m index a80579e5..9e15cc2d 100644 --- a/Sparkle/Autoupdate/Autoupdate.m +++ b/Sparkle/Autoupdate/Autoupdate.m @@ -5,6 +5,7 @@ #import "SUStatusController.h" #import "SULog.h" #import "SULocalizations.h" +#import "SUFileManager.h" #include @@ -300,6 +301,7 @@ int main(int __unused argc, const char __unused *argv[]) if (newRunningApplication == nil) { SULog(@"Failed to create second instance of tool with error: %@", launchError); + return EXIT_FAILURE; } return EXIT_SUCCESS;