Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -357,7 +357,7 @@ static NSString *permanentCacheFolder = @"PermanentStore"; | @@ -357,7 +357,7 @@ static NSString *permanentCacheFolder = @"PermanentStore"; | ||
| 357 | 357 | ||
| 358 | BOOL isDirectory = NO; | 358 | BOOL isDirectory = NO; |
| 359 | BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:path isDirectory:&isDirectory]; | 359 | BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:path isDirectory:&isDirectory]; |
| 360 | - if (exists && !isDirectory || !exists) { | 360 | + if (!exists || !isDirectory) { |
| 361 | [[self accessLock] unlock]; | 361 | [[self accessLock] unlock]; |
| 362 | return; | 362 | return; |
| 363 | } | 363 | } |
-
Please register or login to post a comment