From: Lennart Poettering Date: Thu, 5 Aug 2010 18:49:35 +0000 (+0200) Subject: manager: fix conflicting job check X-Git-Tag: v6~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48a21c9b37372e508fdf1f29a0b4dc90ea051ba3;p=systemd manager: fix conflicting job check --- diff --git a/src/manager.c b/src/manager.c index 7dbc4482..cc12d6bf 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;