]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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 5fa476c9f0187e886f72617b15c5016c28e62dfa..e1cd72fe982be5e378e37bdfce2ebb8dd1698427 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;
                                 }