diff options
author | marinofaggiana <ios@nextcloud.com> | 2022-08-05 14:28:22 +0300 |
---|---|---|
committer | marinofaggiana <ios@nextcloud.com> | 2022-08-05 14:28:22 +0300 |
commit | 56769e22068c14595483e77248ac7506e5c483f6 (patch) | |
tree | b5399a685f22b3f9e7c18dd3c635387428f2610d | |
parent | 7bb634aac330bacc83bd6f3bb50b3df6eb601669 (diff) |
fix code
Signed-off-by: marinofaggiana <ios@nextcloud.com>
-rw-r--r-- | iOSClient/Utility/CCUtility.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/iOSClient/Utility/CCUtility.m b/iOSClient/Utility/CCUtility.m index 2cfc02c84..a7def701a 100644 --- a/iOSClient/Utility/CCUtility.m +++ b/iOSClient/Utility/CCUtility.m @@ -755,9 +755,7 @@ NSError *error = nil; BOOL success = [URL setResourceValue:[NSNumber numberWithBool: YES] forKey: NSURLIsExcludedFromBackupKey error: &error]; - if(success) { - NSLog(@"Excluding %@ from backup", [URL lastPathComponent]); - } else { + if(!success){ NSLog(@"Error excluding %@ from backup %@", [URL lastPathComponent], error); } |