systemctl: fix detection of active units

This commit is contained in:
Lennart Poettering 2010-07-01 15:19:45 +02:00
parent 51cfdda7e2
commit 01b1b079c1
1 changed files with 1 additions and 1 deletions

View File

@ -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);