chiark / gitweb /
core: make sure Environment fields passed in for transient units are properly written...
authorHristo Venev <mustrumr97@gmail.com>
Mon, 23 Jun 2014 16:53:04 +0000 (18:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 23 Jun 2014 16:53:56 +0000 (18:53 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=76744

src/core/dbus-execute.c

index cb9a077..ecbadd7 100644 (file)
@@ -848,7 +848,7 @@ int bus_exec_context_set_transient_property(
                         strv_free(c->environment);
                         c->environment = e;
 
-                        joined = strv_join(c->environment, " ");
+                        joined = strv_join_quoted(c->environment);
                         if (!joined)
                                 return -ENOMEM;