From eb5877a024a6da2177bf309a97ebd3e0641d7f2c Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 28 Feb 2017 21:47:45 -0500 Subject: coredumpctl: avoid spurious warning about systemd-coredump@0.service Fixes #5477. --- src/coredump/coredumpctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coredump/coredumpctl.c b/src/coredump/coredumpctl.c index 93d5e1c9d1..3e9a00bbcf 100644 --- a/src/coredump/coredumpctl.c +++ b/src/coredump/coredumpctl.c @@ -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; } -- cgit v1.2.3-54-g00ecf