[systemd-commits] src/manager.c
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Aug 5 11:49:41 PDT 2010
src/manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 48a21c9b37372e508fdf1f29a0b4dc90ea051ba3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Aug 5 20:49:35 2010 +0200
manager: fix conflicting job check
diff --git a/src/manager.c b/src/manager.c
index 7dbc448..cc12d6b 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;
More information about the systemd-commits
mailing list