mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-02 14:07:46 +00:00
chmod: remove redundant cfg
redox is unix.
This commit is contained in:
parent
5121e2eec1
commit
5ab05a9219
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue