manager: when isolating undo all pending jobs, too
This commit is contained in:
parent
143072edea
commit
2ce5c8f9ab
|
@ -1528,7 +1528,7 @@ static int transaction_add_isolate_jobs(Manager *m) {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* No need to stop inactive jobs */
|
/* 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;
|
continue;
|
||||||
|
|
||||||
/* Is there already something listed for this? */
|
/* Is there already something listed for this? */
|
||||||
|
|
Loading…
Reference in a new issue