From e6402d1077499d741ea747bbaaba51856d00219b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 29 Mar 2011 13:11:13 +0200 Subject: [PATCH] unit: when deserializing jobs, don't pull in dependencies --- src/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unit.c b/src/unit.c index 6f10f51fbd2..68eba69c6ad 100644 --- a/src/unit.c +++ b/src/unit.c @@ -2231,7 +2231,7 @@ int unit_coldplug(Unit *u) { return r; if (u->meta.deserialized_job >= 0) { - if ((r = manager_add_job(u->meta.manager, u->meta.deserialized_job, u, JOB_FAIL, false, NULL, NULL)) < 0) + if ((r = manager_add_job(u->meta.manager, u->meta.deserialized_job, u, JOB_IGNORE_DEPENDENCIES, false, NULL, NULL)) < 0) return r; u->meta.deserialized_job = _JOB_TYPE_INVALID;