summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-19 12:44:49 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-19 12:44:49 -0400
commit5d03c9d460d1c1afcdf062d494537986ce96a690 (patch)
tree470577f39f96cf6d8667f7b0b544bc186c2cbee7 /src
parent46c3a6d6cf5cbcee6add3350b0969578ef09a06b (diff)
downloadbfs-5d03c9d460d1c1afcdf062d494537986ce96a690.tar.xz
eval: Don't warn about suppressed errors without -noerror
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 7fae8fc..b277d1f 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1751,7 +1751,7 @@ int bfs_eval(struct bfs_ctx *ctx) {
sigunhook(info_hook);
bfs_bar_hide(args.bar);
- if (args.nerrors > 0) {
+ if (ctx->ignore_errors && args.nerrors > 0) {
bfs_warning(ctx, "Suppressed errors: %zu\n", args.nerrors);
}