mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
change variable name
This commit is contained in:
parent
c1d2362f1d
commit
64be4369b3
1 changed files with 3 additions and 3 deletions
|
@ -522,7 +522,7 @@ where
|
|||
I: Iterator<Item = &'a OsStr>,
|
||||
{
|
||||
let binary_marker = if options.binary { "*" } else { " " };
|
||||
let mut err = None;
|
||||
let mut err_found = None;
|
||||
for filename in files {
|
||||
let filename = Path::new(filename);
|
||||
|
||||
|
@ -537,7 +537,7 @@ where
|
|||
options.binary_name,
|
||||
filename.to_string_lossy()
|
||||
);
|
||||
err = Some(ChecksumError::Io(e));
|
||||
err_found = Some(ChecksumError::Io(e));
|
||||
continue;
|
||||
}
|
||||
};
|
||||
|
@ -578,7 +578,7 @@ where
|
|||
println!("{prefix}{sum} {binary_marker}{escaped_filename}");
|
||||
}
|
||||
}
|
||||
match err {
|
||||
match err_found {
|
||||
None => Ok(()),
|
||||
Some(e) => Err(Box::new(e)),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue