mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-15 11:36:16 +00:00
chmod: slightly adjust error message when preserve-root is triggered
One of the GNU tests checks for the exact error message.
This commit is contained in:
parent
b3fd711c99
commit
bf5d7f786b
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ impl Chmoder {
|
|||
return Err(USimpleError::new(
|
||||
1,
|
||||
format!(
|
||||
"it is dangerous to operate recursively on {}\nuse --no-preserve-root to override this failsafe",
|
||||
"it is dangerous to operate recursively on {}\nchmod: use --no-preserve-root to override this failsafe",
|
||||
filename.quote()
|
||||
)
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue