summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-03 14:26:50 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-03 14:27:02 +0200
commitcca098b09535f58c638ed41310be60504be49bc4 (patch)
tree2edbf85ba3e103434dec0760ac393c6bc8687bd4 /src/manager.c
parenta4ddf82766c41627bd94c609bb55983f4b81814f (diff)
unit: serialize jobs in addition to units
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/manager.c b/src/manager.c
index a71150d0a9..28bc4c3b70 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -625,9 +625,8 @@ int manager_coldplug(Manager *m) {
if (u->meta.id != k)
continue;
- if (UNIT_VTABLE(u)->coldplug)
- if ((q = UNIT_VTABLE(u)->coldplug(u)) < 0)
- r = q;
+ if ((q = unit_coldplug(u)) < 0)
+ r = q;
}
return r;