From: Lennart Poettering Date: Mon, 1 Nov 2010 15:16:15 +0000 (+0100) Subject: manager: when isolating undo all pending jobs, too X-Git-Tag: v12~80 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ce5c8f9ab32f11110e61208ba8671e48cf8ae6d;p=systemd manager: when isolating undo all pending jobs, too --- diff --git a/src/manager.c b/src/manager.c index afd29cf7..c7de1ea9 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? */