From: Lennart Poettering Date: Tue, 29 Mar 2011 11:11:13 +0000 (+0200) Subject: unit: when deserializing jobs, don't pull in dependencies X-Git-Tag: v21~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6402d1077499d741ea747bbaaba51856d00219b;p=systemd unit: when deserializing jobs, don't pull in dependencies --- diff --git a/src/unit.c b/src/unit.c index 6f10f51f..68eba69c 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;