chiark
/
gitweb
/
~ianmdlvl
/
elogind.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 78078cc0b9f47a3d9df2d54679db5f898ba4f0d2..2f013e3f24c26f19a76aa7d1ec7b1d220cfbdf07 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);
}
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 */
}
/* Returns non-zero when c is contained in s */