diff options
author | Cireo <reid.price@gmail.com> | 2016-09-01 02:04:36 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-09-01 11:04:36 +0200 |
commit | a6405ca288ed3458589c82b6c6ddf87e8c054858 (patch) | |
tree | c5b6f66443386aa992e471b167facfb620db155f /rules | |
parent | 8be16f23e42854a5cfd2d6edb5d3719a7c1508aa (diff) |
systemctl: usable status command for special units (#4072)
Prior to this commit, users could be given an unusable command to run if
they attempted to stop or start special services. For example:
$ systemctl stop -- -.mount
Failed to stop -.mount: Operation refused, unit -.mount may be \
requested by dependency only.
See system logs and 'systemctl status -.mount' for details.
$ systemctl status -.mount
systemctl: invalid option -- '.'
This adds a '--' to the example command in these situations.
Diffstat (limited to 'rules')
0 files changed, 0 insertions, 0 deletions