diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-05 20:49:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-05 20:49:35 +0200 |
commit | 48a21c9b37372e508fdf1f29a0b4dc90ea051ba3 (patch) | |
tree | de0d7211d40f79a31114b021cb7cb48dab0b5f99 | |
parent | 674a6e4d0cae372f34df94dfab2513e071d5dc58 (diff) |
manager: fix conflicting job check
-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 7dbc448269..cc12d6bf22 100644 --- a/src/manager.c +++ b/src/manager.c @@ -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; |