mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Exit on failure here
This commit is contained in:
1 parent
00368011c8
commit
cf3674b2d7
1 file changed
+2
Vendored
+2
@@ -5,6 +5,7 @@
|
||||
#import "SUStatusController.h"
|
||||
#import "SULog.h"
|
||||
#import "SULocalizations.h"
|
||||
#import "SUFileManager.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user