chiark / gitweb /
dbus: complete coverage for unit interface
[elogind.git] / src / manager.c
index b8daffd67b78164aa66255959920bb985391aa00..74a414aab11405b7a4e953686bebce3270066e95 100644 (file)
@@ -1343,7 +1343,7 @@ static int transaction_add_isolate_jobs(Manager *m) {
                         continue;
 
                 /* No need to stop inactive jobs */
-                if (unit_active_state(u) == UNIT_INACTIVE)
+                if (UNIT_IS_INACTIVE_OR_MAINTENANCE(unit_active_state(u)))
                         continue;
 
                 /* Is there already something listed for this? */