mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-02-24 20:53:14 +07:00
systemctl: fix detection of active units
This commit is contained in:
parent
51cfdda7e2
commit
01b1b079c1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user