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;