Make it clear that quarantine error is only a warning

This commit is contained in:
Kornel committed 2018-12-23 11:53:13 +00:00
1 parent a5b23cdbee
commit 82726c4386
1 file changed
+1 -1
+1 -1
View File
@@ -557,7 +557,7 @@
// Perhaps in a sandboxed environment this matters more. Note that this may not be a fatal error.
NSError *quarantineError = nil;
if (![fileManager releaseItemFromQuarantineAtRootURL:relaunchCopyTargetURL error:&quarantineError]) {
SULog(SULogLevelError, @"Failed to release quarantine on %@ with error %@", relaunchCopyTargetPath, quarantineError);
SULog(SULogLevelDefault, @"Warning: could not remove quarantine metadata from %@: %@. This may not be a problem, the update process will continue.", relaunchCopyTargetPath, quarantineError);
}
}
}