From 48a21c9b37372e508fdf1f29a0b4dc90ea051ba3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 5 Aug 2010 20:49:35 +0200 Subject: [PATCH] manager: fix conflicting job check --- src/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manager.c b/src/manager.c index 7dbc44826..cc12d6bf2 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; -- 2.30.2