diff options
author | Simon Rettberg | 2020-07-07 10:55:57 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-07-07 10:55:57 +0200 |
commit | 47de5012aec20ffadb7752739316b422f7e01936 (patch) | |
tree | ba5d51b920e3164651b3b2b80ed726fa9fb58840 /scripts | |
parent | [systemctl] Add support for "journal", which actually uses journalctl (diff) | |
download | tmlite-bwlp-47de5012aec20ffadb7752739316b422f7e01936.tar.gz tmlite-bwlp-47de5012aec20ffadb7752739316b422f7e01936.tar.xz tmlite-bwlp-47de5012aec20ffadb7752739316b422f7e01936.zip |
[systemctl] Allow show
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 ae9ef41..aadf764 100755 --- a/scripts/systemctl +++ b/scripts/systemctl @@ -29,7 +29,7 @@ one_fail= cmpop="${op##*-}" for service in "$@"; do ok= - [[ "$op" =~ ^(is-active|status|cat|journal)$ ]] && ok=1 + [[ "$op" =~ ^(is-active|status|cat|show|journal)$ ]] && ok=1 str="${service%.service}" noa="${str%%@*}" [[ "$noa" != "$str" ]] && str="${noa}@" |