summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-05-16 18:21:01 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-05-16 18:21:10 -0400
commitc18d201808e70949b45fe206d9c29efb8107a152 (patch)
tree551d5fd174aa3322b7086bde968b2b628e281555
parent4652c56c59682f153c34d30b410534e4f0c6fd6a (diff)
load-fragment: put quotes around iffy rvalue
-rw-r--r--src/core/load-fragment.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 5fa476c9f0..e1cd72fe98 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -596,7 +596,8 @@ int config_parse_exec(
/* skip special chars in the beginning */
if (l <= skip) {
- log_syntax(unit, LOG_ERR, filename, line, EINVAL, "Empty path in command line, ignoring: %s", rvalue);
+ log_syntax(unit, LOG_ERR, filename, line, EINVAL,
+ "Empty path in command line, ignoring: \"%s\"", rvalue);
r = 0;
goto fail;
}