From 01b1b079c1de830dcd4a7b42675864ce7d6d84f3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 1 Jul 2010 15:19:45 +0200 Subject: [PATCH] systemctl: fix detection of active units --- src/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl.c b/src/systemctl.c index d6f4709c4..390cec9f9 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -969,7 +969,7 @@ static int check_unit(DBusConnection *bus, char **args, unsigned n) { if (!arg_quiet) puts(state); - if (streq(state, "active") || startswith(state, "active-")) + if (streq(state, "active") || startswith(state, "reloading")) r = 0; dbus_message_unref(m); -- 2.30.2