]> err.no Git - systemd/commitdiff
conf-parser: check all parse callbacks
authorLennart Poettering <lennart@poettering.net>
Tue, 22 Jun 2010 02:09:26 +0000 (04:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 Jun 2010 02:09:26 +0000 (04:09 +0200)
src/conf-parser.c

index a6d4d92aa29468e63adc3405dd256484c4137259..13f873869fe353b11fa87178c5397590cbb2cb89 100644 (file)
@@ -50,7 +50,7 @@ static int next_assignment(
         assert(lvalue);
         assert(rvalue);
 
-        for (; t->parse; t++) {
+        for (; t->parse || t->lvalue; t++) {
 
                 if (t->lvalue && !streq(lvalue, t->lvalue))
                         continue;