summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-01 00:31:53 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-01 00:31:53 +0200
commit6124958c7bda3fed9b079e8217781480797703f5 (patch)
tree7e5b47c29fa4c7cfe24c7798091d3561e3231cca /src/manager.c
parent4fd5948e74b776b6d68ba55f558da5f354179e52 (diff)
unit: add new abstracted maintenance state for units
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index b8daffd67b..74a414aab1 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -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? */