fileio: in envfiles, do not skip lines following empty lines
https://bugs.freedesktop.org/show_bug.cgi?id=63477
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ static int parse_file(Hashmap *sysctl_options, const char *path, bool ignore_eno
|
||||
if (!*p)
|
||||
continue;
|
||||
|
||||
if (strchr(COMMENTS, *p))
|
||||
if (strchr(COMMENTS "\n", *p))
|
||||
continue;
|
||||
|
||||
value = strchr(p, '=');
|
||||
|
||||
Reference in New Issue
Block a user