chiark / gitweb /
unit: fix parsing of condition-result
authorLennart Poettering <lennart@poettering.net>
Tue, 29 Mar 2011 21:32:31 +0000 (23:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Mar 2011 21:32:31 +0000 (23:32 +0200)
src/unit.c

index 40aae75..a2953a6 100644 (file)
@@ -2180,6 +2180,8 @@ int unit_deserialize(Unit *u, FILE *f, FDSet *fds) {
                                 log_debug("Failed to parse condition result value %s", v);
                         else
                                 u->meta.condition_result = b;
                                 log_debug("Failed to parse condition result value %s", v);
                         else
                                 u->meta.condition_result = b;
+
+                        continue;
                 }
 
                 if ((r = UNIT_VTABLE(u)->deserialize_item(u, l, v, fds)) < 0)
                 }
 
                 if ((r = UNIT_VTABLE(u)->deserialize_item(u, l, v, fds)) < 0)