mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-04-27 15:07:44 +00:00
changed warning about not applying finder file type to a trace statement
This commit is contained in:
parent
0e235423a7
commit
f15caf93f5
1 changed files with 2 additions and 2 deletions
|
|
@ -261,9 +261,9 @@ static OSStatus SymlinkPathMakeRef(const UInt8 *path, FSRef *ref, Boolean *isDir
|
||||||
- (BOOL)applyFinderFileType:(NSString *)fft finderFileCreator:(NSString *)ffc error:(NSError **)error {
|
- (BOOL)applyFinderFileType:(NSString *)fft finderFileCreator:(NSString *)ffc error:(NSError **)error {
|
||||||
if (targetExists && (![fft isEqualToString:finderFileType] || ![ffc isEqualToString:finderFileCreator])) {
|
if (targetExists && (![fft isEqualToString:finderFileType] || ![ffc isEqualToString:finderFileCreator])) {
|
||||||
if ([fft length] != 4) {
|
if ([fft length] != 4) {
|
||||||
HSLogWarn(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", fft, path);
|
HSLogTrace(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", fft, path);
|
||||||
} else if ([ffc length] != 4) {
|
} else if ([ffc length] != 4) {
|
||||||
HSLogWarn(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", ffc, path);
|
HSLogTrace(@"not applying finder file type '%@' to %@: invalid length (must be 4 characters)", ffc, path);
|
||||||
} else {
|
} else {
|
||||||
FSRef fsRef;
|
FSRef fsRef;
|
||||||
Boolean isDirectory;
|
Boolean isDirectory;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue