From 5ab05a92193fc8cc6f44a8b7944cef889543c5ff Mon Sep 17 00:00:00 2001 From: Michael Debertol Date: Tue, 17 Aug 2021 17:03:11 +0200 Subject: [PATCH] chmod: remove redundant cfg redox is unix. --- src/uu/chmod/src/chmod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/chmod/src/chmod.rs b/src/uu/chmod/src/chmod.rs index bf6e81305..26b3fd85b 100644 --- a/src/uu/chmod/src/chmod.rs +++ b/src/uu/chmod/src/chmod.rs @@ -260,7 +260,7 @@ impl Chmoder { // instead it just sets the readonly attribute on the file Err(0) } - #[cfg(any(unix, target_os = "redox"))] + #[cfg(unix)] fn chmod_file(&self, file: &Path) -> Result<(), i32> { use uucore::mode::get_umask;