conf-parser: logs about OOM error

This commit is contained in:
Yu Watanabe 2020-09-10 14:14:19 +09:00
parent 3de39a1ad4
commit 7a602af041
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ static int parse_line(
n = strndup(l+1, k-2);
if (!n)
return -ENOMEM;
return log_oom();
if (sections && !nulstr_contains(sections, n)) {
bool ignore = flags & CONFIG_PARSE_RELAXED;