diff --git a/bipc/src/lib.rs b/bipc/src/lib.rs index a4728c4..de1c768 100644 --- a/bipc/src/lib.rs +++ b/bipc/src/lib.rs @@ -50,7 +50,7 @@ fn read_bip(buf: R) -> Result> { if err_count > 0 { let count_fmt = format!("{err_count} error{}", if err_count == 1 { "" } else { "s" }); - if err_count >= ERR_MAX { + if err_count > ERR_MAX { eprintln!("{} ({} shown)", count_fmt, ERR_MAX); } else { eprintln!("{}", count_fmt);