mirror of https://github.com/procxx/kepka.git
Log error code for macOS launc-after-update problem.
This commit is contained in:
parent
c70e9b529a
commit
20ee1fa0d3
|
@ -254,7 +254,7 @@ int main(int argc, const char * argv[]) {
|
||||||
forKey:NSWorkspaceLaunchConfigurationArguments]
|
forKey:NSWorkspaceLaunchConfigurationArguments]
|
||||||
error:&error];
|
error:&error];
|
||||||
if (!result) {
|
if (!result) {
|
||||||
writeLog([@"Could not run application, error: " stringByAppendingString:error ? [error localizedDescription] : @"(nil)"]);
|
writeLog([[NSString stringWithFormat:@"Could not run application, error %ld: ", (long)[error code]] stringByAppendingString: error ? [error localizedDescription] : @"(nil)"]);
|
||||||
}
|
}
|
||||||
closeLog();
|
closeLog();
|
||||||
return result ? 0 : -1;
|
return result ? 0 : -1;
|
||||||
|
|
Loading…
Reference in New Issue