From: Lennart Poettering Date: Tue, 13 Apr 2010 17:26:26 +0000 (+0200) Subject: conf-parser: print message about invalid sections X-Git-Tag: 0.git+20100605+dfd8ee-1~122 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27563bb44a5872d96eea32e1034de8278d9a9a73;p=systemd conf-parser: print message about invalid sections --- diff --git a/conf-parser.c b/conf-parser.c index 6f5361f9..2cf90f2d 100644 --- a/conf-parser.c +++ b/conf-parser.c @@ -111,6 +111,7 @@ static int parse_line(const char *filename, unsigned line, char **section, const return -ENOMEM; if (sections && !strv_contains((char**) sections, n)) { + log_error("[%s:%u] Unknown section '%s'.", filename, line, n); free(n); return -EBADMSG; }