aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 25a6bcd..77e60c4 100644
--- a/src/util.c
+++ b/src/util.c
@@ -52,7 +52,7 @@ stdio_log(int facility, int level, const char *fmtstr, ...)
if (level < log_level_min)
return;
- if (level == LOG_WARN) {
+ if (level == LOG_WARN && !*warnlog) {
led_start_blip(HARD_RED, 100);
va_copy(cpy, ap);
va_start(cpy, fmtstr);