mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
systemctl: fix detection of active units
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user