mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-14 19:16:17 +00:00
cksum: remove redundant guard
This commit is contained in:
parent
1fc6a760f3
commit
d990021572
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
|||
let input_length = matches.get_one::<usize>(options::LENGTH);
|
||||
let length = if let Some(length) = input_length {
|
||||
match length.to_owned() {
|
||||
n if n == 0 => None,
|
||||
0 => None,
|
||||
n if n % 8 != 0 => {
|
||||
// GNU's implementation seem to use these quotation marks
|
||||
// in their error messages, so we do the same.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue