chiark / gitweb /
improve dump output for sockets
[elogind.git] / conf-parser.c
index 78078cc0b9f47a3d9df2d54679db5f898ba4f0d2..2f013e3f24c26f19a76aa7d1ec7b1d220cfbdf07 100644 (file)
@@ -44,8 +44,8 @@ static int next_assignment(
                 return t->parse(filename, line, section, lvalue, rvalue, t->data, userdata);
         }
 
-        log_error("[%s:%u] Unknown lvalue '%s' in section '%s'.", filename, line, lvalue, strna(section));
-        return -EBADMSG;
+        log_info("[%s:%u] Unknown lvalue '%s' in section '%s'. Ignoring.", filename, line, lvalue, strna(section));
+        return 0;
 }
 
 /* Returns non-zero when c is contained in s */