diff --git a/src/errors.c b/src/errors.c index e30f21ef2..7a2d14a15 100644 --- a/src/errors.c +++ b/src/errors.c @@ -472,6 +472,10 @@ void ha_warning(const char *fmt, ...) */ void _ha_vdiag_warning(const char *fmt, va_list argp) { + warned |= WARN_ANY; + HA_ATOMIC_INC(&tot_warnings); + + warn_exec_path(); print_message(1, "DIAG", fmt, argp); }