chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly report invalid quoted strings
[elogind.git]
/
src
/
shared
/
install.c
diff --git
a/src/shared/install.c
b/src/shared/install.c
index c32d6599a68ef1906ebd949efb62d9c973722708..276ca3ec7a3c26f2f7ffc28f05f0a196cd67d09d 100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-966,6
+966,9
@@
static int config_parse_also(
if (r < 0)
return r;
}
+ if (!isempty(state))
+ log_syntax(unit, LOG_ERR, filename, line, EINVAL,
+ "Trailing garbage, ignoring.");
return 0;
}