summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-29 13:11:13 +0200
committerLennart Poettering <lennart@poettering.net>2011-03-29 13:11:13 +0200
commite6402d1077499d741ea747bbaaba51856d00219b (patch)
tree1f1c756537310cea8a1c55836a124dc3e2eed508
parent1ead1cad4b63a5dc586ae5a630d3f2857d3a86a2 (diff)
unit: when deserializing jobs, don't pull in dependencies
-rw-r--r--src/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c
index 6f10f51fbd..68eba69c6a 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;