mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07: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:
@@ -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()
|
||||
)
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user