We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7308818 commit 1451e75Copy full SHA for 1451e75
1 file changed
src/uu/chmod/src/chmod.rs
@@ -619,10 +619,10 @@ impl Chmoder {
619
);
620
}
621
let err = if e.kind() == std::io::ErrorKind::ReadOnlyFilesystem {
622
- ChmodError::ReadOnlyFileSystem(file_path.into())
623
- } else {
624
- ChmodError::PermissionDenied(file_path.into())
625
- };
+ ChmodError::ReadOnlyFileSystem(file_path.into())
+ } else {
+ ChmodError::PermissionDenied(file_path.into())
+ };
626
627
return Err(err.into());
628
0 commit comments