mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-19 13:08:42 +07:00
manager: fix conflicting job check
This commit is contained in:
parent
674a6e4d0c
commit
48a21c9b37
@ -1068,7 +1068,7 @@ static void transaction_minimize_impact(Manager *m) {
|
||||
j->type == JOB_STOP && UNIT_IS_ACTIVE_OR_ACTIVATING(unit_active_state(j->unit));
|
||||
|
||||
changes_existing_job =
|
||||
j->unit->meta.job && job_type_is_conflicting(j->type, j->unit->meta.job->state);
|
||||
j->unit->meta.job && job_type_is_conflicting(j->type, j->unit->meta.job->type);
|
||||
|
||||
if (!stops_running_service && !changes_existing_job)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user