systemctl: don't allow --wait with commands that might not start units
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Wed, 16 Aug 2017 17:09:47 +0000 (18:09 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Fri, 18 Aug 2017 12:46:41 +0000 (13:46 +0100)
commitf886603b7eba6a11b7b48d8b6b04a05aaa960b1a
tree0efd3c0786468f044de79f99d693786b0bcc4c91
parent43ee6a8128dc751943e25c42a490a833904a58b9
systemctl: don't allow --wait with commands that might not start units

There's no good reason to use `--wait` with ReloadOrRestartUnit, or
TryRestartUnit.

The message was also wrong in another sense.  'systemctl isolate'
starts units, but it did not support `--wait`.  Although it's
unlikely anyone would want to do that in the first place.
src/systemctl/systemctl.c