machinectl: do not escape the unit name (#3554)
authorElias Probst <mail@eliasprobst.eu>
Wed, 22 Jun 2016 15:10:52 +0000 (17:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Jun 2016 15:10:52 +0000 (17:10 +0200)
commit1e9707d495ca52f23dff4d0eb16a1c2346a0f34e
tree79934313d4f53837686663f72bd838c1a33d08ec
parent2787d83c28b7565ea6f80737170514e5e6186917
machinectl: do not escape the unit name (#3554)

Otherwise starting a machine named `foo-bar-baz` will end up in
machinectl attempting to start the service unit
`systemd-nspawn@foo\x2dbar\x2dbaz` instead of
`systemd-nspawn@foo-bar-baz`.
src/machine/machinectl.c