chiark / gitweb /
fileio: in envfiles, do not skip lines following empty lines
[elogind.git] / src / shared / conf-parser.c
index fbacf986a515b3e30ceeb0a1c5fe1c958733d283..fea2e5624ef2806c68d4b7ccfdd8dfdf4ec041cc 100644 (file)
@@ -174,7 +174,7 @@ static int parse_line(
         if (!*l)
                 return 0;
 
-        if (strchr(COMMENTS, *l))
+        if (strchr(COMMENTS "\n", *l))
                 return 0;
 
         if (startswith(l, ".include ")) {