[systemd-devel] systemctl show environment quoting

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Oct 29 06:15:57 PDT 2014


On Wed, Oct 29, 2014 at 09:40:19AM +0100, Alexandre Detiste wrote:
> Hi,
> 
> I stumbled on this:
> 
> $ systemctl cat cron-crontab-pi-0 | grep Environment
> Environment="A=a a" "MAILTO=system-cron at mailinator.com" "B=b b" "C=c c"
> $ systemctl show cron-crontab-pi-0 -p Environment
> Environment=A=a a MAILTO=system-cron at mailinator.com B=b b C=c c
> 
> -> the quotes are gone.
> 
> Is this done by design, or a bug in "systemctl show" ?
Yep, a bug. The same code is used in various places, so probably not
only there.

Zbyszek


More information about the systemd-devel mailing list