diff options
author | Simon Rettberg | 2020-07-31 14:09:50 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-07-31 14:09:50 +0200 |
commit | 54f27f04d4783ce25e4e760437c0dab235d0c7c8 (patch) | |
tree | 95829d890a3d9dac81eaeee9972f999b2d2661cb /scripts | |
parent | [systemctl] Allow show (diff) | |
download | tmlite-bwlp-54f27f04d4783ce25e4e760437c0dab235d0c7c8.tar.gz tmlite-bwlp-54f27f04d4783ce25e4e760437c0dab235d0c7c8.tar.xz tmlite-bwlp-54f27f04d4783ce25e4e760437c0dab235d0c7c8.zip |
scripts/systemctl: Improbe logic of automatic systemctl status
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/systemctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/systemctl b/scripts/systemctl index aadf764..68ea3ef 100755 --- a/scripts/systemctl +++ b/scripts/systemctl @@ -46,7 +46,7 @@ for service in "$@"; do one_ok=1 else one_fail=1 - [[ "$op" != "status" && "$op" != "journal" ]] && systemctl status "$service" + [[ "$op" = "start" || "$op" = "restart" ]] && systemctl status "$service" fi else echo "Operation '$op' not allowed on '$service'" >&2 |