On Sat, 04.10.14 21:24, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:

> Hi,
> 
> Environment="X='Y' Z"
> ExecStart=/bin/echo $X ${X}
> 
> results in echo[31266]: Y Z 'Y' Z
> 
> i.e., $X not only splits at whitespace, as documented, but also strips quotes.
> Is this by design, or is it an implementation accident? Should this behaviour
> be changed?

Well, I wouldn't claim it was by design, but I think it actually
*does* make some sense the way it is. Might need documentation though...

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to