]> err.no Git - systemd/commitdiff
unit: when deserializing jobs, don't pull in dependencies
authorLennart Poettering <lennart@poettering.net>
Tue, 29 Mar 2011 11:11:13 +0000 (13:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Mar 2011 11:11:13 +0000 (13:11 +0200)
src/unit.c

index 6f10f51fbd2e2ebdacdd1cdd9b6feb52a0b23de8..68eba69c6adf5061b11260fd391209816617b126 100644 (file)
@@ -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;