summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-01 16:16:15 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-10 22:38:43 +0100
commit2ce5c8f9ab32f11110e61208ba8671e48cf8ae6d (patch)
tree20194262f0bcb5c4f410ffee9fc137c60b6be051 /src/manager.c
parent143072edeabe163377d45dedd252d173a56f6455 (diff)
manager: when isolating undo all pending jobs, too
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 afd29cf7c3..c7de1ea95c 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -1528,7 +1528,7 @@ static int transaction_add_isolate_jobs(Manager *m) {
continue;
/* No need to stop inactive jobs */
- if (UNIT_IS_INACTIVE_OR_FAILED(unit_active_state(u)))
+ if (UNIT_IS_INACTIVE_OR_FAILED(unit_active_state(u)) && !u->meta.job)
continue;
/* Is there already something listed for this? */