diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-10 19:24:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-10 23:41:03 +0200 |
commit | 6fa4853328e3d78d092172fa54effb7e785d0a85 (patch) | |
tree | df7ec622c6f825f6470be62f49dfcaac2d020e71 /src/core/unit.c | |
parent | 376dd21dc0757e8a6d3f60d6d21bb802a90f1983 (diff) |
core: serialize/deserialize bus subscribers
Diffstat (limited to 'src/core/unit.c')
-rw-r--r-- | src/core/unit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index 447f2015ab..70cdd3d943 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -2128,7 +2128,8 @@ int unit_serialize(Unit *u, FILE *f, FDSet *fds, bool serialize_jobs) { if (!unit_can_serialize(u)) return 0; - if ((r = UNIT_VTABLE(u)->serialize(u, f, fds)) < 0) + r = UNIT_VTABLE(u)->serialize(u, f, fds); + if (r < 0) return r; |