1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

mv: improve error message

This commit is contained in:
Roy Ivy III 2018-09-22 23:31:54 -05:00 committed by Roy Ivy III
parent e00d586af1
commit 556a96406c

View file

@ -257,7 +257,10 @@ fn exec(files: &[PathBuf], b: Behaviour) -> i32 {
return match rename(source, target, &b) {
Err(e) => {
show_error!("{}", e);
show_error!(
"cannot move {} to {}: {}",
source.display(), target.display(), e
);
1
}
_ => 0,