[systemd-commits] src/core

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Sat May 16 15:21:22 PDT 2015


 src/core/load-fragment.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c18d201808e70949b45fe206d9c29efb8107a152
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Sat May 16 18:21:01 2015 -0400

    load-fragment: put quotes around iffy rvalue

diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 5fa476c..e1cd72f 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;
                                 }



More information about the systemd-commits mailing list