mirror of
https://github.com/troglobit/finit.git
synced 2026-10-27 12:20:54 +00:00
Silence noisy debug messages, useful only to developers
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
2e73563eea
commit
ec5e42694d
4 files changed
+6
-8
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user