load-fragment: put quotes around iffy rvalue
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 16 May 2015 22:21:01 +0000 (18:21 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 16 May 2015 22:21:10 +0000 (18:21 -0400)
src/core/load-fragment.c

index 5fa476c..e1cd72f 100644 (file)
@@ -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;
                                 }