projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0301abf
)
allow a simple upgrade path for service files by ignoring unknown config items instea...
author
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Jan 2010 23:19:06 +0000
(
00:19
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Jan 2010 23:19:06 +0000
(
00:19
+0100)
conf-parser.c
patch
|
blob
|
history
diff --git
a/conf-parser.c
b/conf-parser.c
index
78078cc
..
2f013e3
100644
(file)
--- a/
conf-parser.c
+++ b/
conf-parser.c
@@
-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 */