chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cat: fix priority type
[elogind.git]
/
src
/
conf-parser.c
diff --git
a/src/conf-parser.c
b/src/conf-parser.c
index 135b175c09a5dd4a5d939a34c41bf01b1121f39a..a9b01135e6a1dfc7a3bcbd335b6d59c1a21cb7be 100644
(file)
--- a/
src/conf-parser.c
+++ b/
src/conf-parser.c
@@
-219,8
+219,13
@@
static int parse_line(
return 0;
}
- if (sections && !*section)
+ if (sections && !*section) {
+
+ if (!relaxed)
+ log_info("[%s:%u] Assignment outside of section. Ignoring.", filename, line);
+
return 0;
+ }
e = strchr(l, '=');
if (!e) {