mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 07:48:36 +00:00
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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
41d83615be
commit
4af1100591
@@ -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