summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-01 15:19:45 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-01 15:19:45 +0200
commit01b1b079c1de830dcd4a7b42675864ce7d6d84f3 (patch)
treef7f1c030b6c4b191d1f26fba7689f1b78e59605f
parent51cfdda7e2132e0d4a39645840608ba7028073dd (diff)
systemctl: fix detection of active units
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index d6f4709c42..390cec9f9a 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);