summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/unit.c b/src/unit.c
index 0e9325dfa4..fd9bdae1ad 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -2087,14 +2087,19 @@ int unit_deserialize(Unit *u, FILE *f, FDSet *fds) {
u->meta.deserialized_job = type;
continue;
- } else if (streq(l, "inactive-exit-timestamp"))
+ } else if (streq(l, "inactive-exit-timestamp")) {
dual_timestamp_deserialize(f, v, &u->meta.inactive_exit_timestamp);
- else if (streq(l, "active-enter-timestamp"))
+ continue;
+ } else if (streq(l, "active-enter-timestamp")) {
dual_timestamp_deserialize(f, v, &u->meta.active_enter_timestamp);
- else if (streq(l, "active-exit-timestamp"))
+ continue;
+ } else if (streq(l, "active-exit-timestamp")) {
dual_timestamp_deserialize(f, v, &u->meta.active_exit_timestamp);
- else if (streq(l, "inactive-enter-timestamp"))
+ continue;
+ } else if (streq(l, "inactive-enter-timestamp")) {
dual_timestamp_deserialize(f, v, &u->meta.inactive_enter_timestamp);
+ continue;
+ }
if ((r = UNIT_VTABLE(u)->deserialize_item(u, l, v, fds)) < 0)
return r;