Skip to content

Commit

Permalink
fix wrong logger statement
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Nov 28, 2023
1 parent c3e1c40 commit 5767d2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public int chmod(String path, int mode, FileInfo fi) {
LOG.warn("chmod {} failed, file not found.", path);
return -errno.enoent();
} catch (UnsupportedOperationException e) {
if (OS.WINDOWS.isCurrent()) { //prevent spamming warnings
if (!OS.WINDOWS.isCurrent()) { //prevent spamming warnings
LOG.warn("Setting posix permissions not supported by underlying file system.");
}
return -errno.enosys();
Expand Down

0 comments on commit 5767d2b

Please sign in to comment.