mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Actually silence the log message, missing hunk for previous change
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
cbf96a1de0
commit
ed88469276
1 file changed
+4
-2
@@ -759,11 +759,13 @@ int svc_ifthen(int is_conf, const char *ident, char *stmt, int quiet)
|
|||||||
|
|
||||||
svc = svc_find_by_str(stmt);
|
svc = svc_find_by_str(stmt);
|
||||||
if (not && svc) {
|
if (not && svc) {
|
||||||
logit(LOG_NOTICE, "skipping %s, %s already loaded.", ident, svc_ident(svc, NULL, 0));
|
if (!quiet)
|
||||||
|
logit(LOG_NOTICE, "skipping %s, %s already loaded.", ident, svc_ident(svc, NULL, 0));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (!not && !svc) {
|
if (!not && !svc) {
|
||||||
logit(LOG_NOTICE, "skipping %s, %s not available.", ident, stmt);
|
if (!quiet)
|
||||||
|
logit(LOG_NOTICE, "skipping %s, %s not available.", ident, stmt);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user