Don't log that we're terminating the app

This way if installation takes a long time, it may not look like it is because of termination.
This commit is contained in:
Zorg committed 2016-07-16 12:11:52 -04:00
1 parent c37fc24389
commit e00d303c08
1 file changed
-3
-3
View File
@@ -305,9 +305,6 @@
dispatch_async(dispatch_get_main_queue(), ^{
NSRunningApplication *runningApplication = [SUApplicationInfo runningApplicationWithBundle:self.applicationBundle];
if (runningApplication != nil) {
if (self.verbose) {
fprintf(stderr, "Terminating application...\n");
}
if (![runningApplication terminate]) {
if (![runningApplication forceTerminate]) {
fprintf(stderr, "Error: Failed to terminate running application. Please terminate it to update it.");