diff --git a/prebuilt-x86-64-linux/lndups b/prebuilt-x86-64-linux/lndups index 3cfca9c..2cc970c 100755 Binary files a/prebuilt-x86-64-linux/lndups and b/prebuilt-x86-64-linux/lndups differ diff --git a/src/main.rs b/src/main.rs index 2b4768c..2cb9004 100644 --- a/src/main.rs +++ b/src/main.rs @@ -155,7 +155,7 @@ fn process_args() -> (Vec>, Config) { for paths in &run_paths { - if let Err(s) = assert_all_same_device(paths) { + if let Err(s) = check_all_same_device(paths) { eprintln!("{}", s); std::process::exit(1); } @@ -179,7 +179,7 @@ fn get_st_dev(file: &PathBuf) -> Result { } } -fn assert_all_same_device(paths: &[PathBuf]) -> Result<(), String> { +fn check_all_same_device(paths: &[PathBuf]) -> Result<(), String> { if paths.len() <= 1 { return Ok(()) } @@ -304,7 +304,7 @@ fn format_pair(f1: &PathBuf, f2: &PathBuf, cfg: &Config) -> String { ) } else { format!( - "{} {}", + "{} <-> {}", shlex::quote(&f1s), shlex::quote(&f2s) )