mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +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…
Reference in a new issue