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
This commit is contained in:
committed by
Lennart Poettering
parent
ff452e76e2
commit
cdd7b7dfd4
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user