chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Mon, 25 Sep 2017 12:36:18 +0000 (14:36 +0200)
commitbc8491844602f0d0626af7ff9e0f988a546bf1d7
tree03303e009d6bc09061e110c2b25fd7642f089fa7
parent0c642978ccb2102139bd9e96ce5e8675e200b10f
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/libelogind/sd-bus/sd-bus.c