core: make sure Environment fields passed in for transient units are properly written to unit files

https://bugs.freedesktop.org/show_bug.cgi?id=76744
(cherry picked from commit cdd7b7dfd4)
This commit is contained in:
Hristo Venev
2014-06-26 01:46:32 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 41d83615be
commit 4af1100591
+1 -1
View 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;