Silence noisy debug messages, useful only to developers

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-10-03 15:14:02 +02:00
1 parent 2e73563eea
commit ec5e42694d
4 files changed
+6 -8

No files matched your search

+2 -6
View File
@@ -717,14 +717,10 @@ int svc_ifthen(const char *ident, char *stmt)
ptr[i] = 0;
cond = cond_get(stmt);
if (not && cond == COND_ON) {
logit(LOG_NOTICE, "skipping %s, cond %s is on.", ident, stmt);
if (not && cond == COND_ON)
return 0;
}
if (!not && cond == COND_OFF) {
logit(LOG_NOTICE, "skipping %s, cond %s is off.", ident, stmt);
if (!not && cond == COND_OFF)
return 0;
}
return 1;
}