mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
coredumpctl: avoid spurious warning about systemd-coredump@0.service
Fixes #5477.
This commit is contained in:
parent
b9aaa7f480
commit
eb5877a024
@ -1003,7 +1003,7 @@ static int check_units_active(void) {
|
||||
reply, "(ssssssouso)",
|
||||
&id, NULL, NULL, &state, &substate,
|
||||
NULL, NULL, NULL, NULL, NULL)) > 0) {
|
||||
bool found = !STR_IN_SET(state, "dead", "failed");
|
||||
bool found = !STR_IN_SET(state, "inactive", "dead", "failed");
|
||||
log_debug("Unit %s is %s/%s, %scounting it.", id, state, substate, found ? "" : "not ");
|
||||
c += found;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user