]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-bus: use -- when passing arguments to ssh (#6706)
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 31 Aug 2017 08:38:30 +0000 (11:38 +0300)
committerLennart Poettering <lennart@poettering.net>
Thu, 31 Aug 2017 08:38:30 +0000 (10:38 +0200)
commit58c6e4a2c00c47d0941cb978ec025b13e1798bf3
treef9a65758d201ad64ce3979770f69fe5a36132c22
parentea89a119cda917a17bd186b3c13197acfd655b12
sd-bus: use -- when passing arguments to ssh (#6706)

This prevents `systemctl` from runnning /bin/touch when the following
command is used:
```
systemctl -H '-oProxyCommand=/bin/touch i-shouldnt-be-here' show-environment
```
src/libsystemd/sd-bus/sd-bus.c