From 2ce5c8f9ab32f11110e61208ba8671e48cf8ae6d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 1 Nov 2010 16:16:15 +0100 Subject: [PATCH] manager: when isolating undo all pending jobs, too --- src/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? */ -- 2.39.5