allow a simple upgrade path for service files by ignoring unknown config items instead of failing on them
This commit is contained in:
parent
0301abf48e
commit
f1857be0b9
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue