diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-11-01 16:16:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-11-10 22:38:43 +0100 |
commit | 2ce5c8f9ab32f11110e61208ba8671e48cf8ae6d (patch) | |
tree | 20194262f0bcb5c4f410ffee9fc137c60b6be051 /src | |
parent | 143072edeabe163377d45dedd252d173a56f6455 (diff) |
manager: when isolating undo all pending jobs, too
Diffstat (limited to 'src')
-rw-r--r-- | src/manager.c | 2 |
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? */ |