1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 05:57:46 +00:00

chmod: remove redundant cfg

redox is unix.
This commit is contained in:
Michael Debertol 2021-08-17 17:03:11 +02:00
parent 5121e2eec1
commit 5ab05a9219

View file

@ -260,7 +260,7 @@ impl Chmoder {
// instead it just sets the readonly attribute on the file // instead it just sets the readonly attribute on the file
Err(0) Err(0)
} }
#[cfg(any(unix, target_os = "redox"))] #[cfg(unix)]
fn chmod_file(&self, file: &Path) -> Result<(), i32> { fn chmod_file(&self, file: &Path) -> Result<(), i32> {
use uucore::mode::get_umask; use uucore::mode::get_umask;