From: Lennart Poettering Date: Thu, 1 Jul 2010 13:19:45 +0000 (+0200) Subject: systemctl: fix detection of active units X-Git-Tag: v1~84 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01b1b079c1de830dcd4a7b42675864ce7d6d84f3;p=systemd systemctl: fix detection of active units --- diff --git a/src/systemctl.c b/src/systemctl.c index d6f4709c..390cec9f 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);