machinectl: interpret options placed between "shell" verb and machine name
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Jun 2016 19:30:20 +0000 (21:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Jun 2016 19:30:20 +0000 (21:30 +0200)
commit768c1decf9d5a4776a7c9360ed86d5795f80dce6
treef78b857b94760ee80f200d5b2b9ce22e9a68cc95
parente382c49f1dfe172cc14651fd0908da6ebf12ef53
machinectl: interpret options placed between "shell" verb and machine name

Previously, we'd stop processing of the argument list immediately when hitting
the "shell" verb. However, we really should continue processing options then,
until we hit the machine name.

Fixes: #3472
src/machine/machinectl.c