summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2020-07-07 10:55:57 +0200
committerSimon Rettberg2020-07-07 10:55:57 +0200
commit47de5012aec20ffadb7752739316b422f7e01936 (patch)
treeba5d51b920e3164651b3b2b80ed726fa9fb58840 /scripts
parent[systemctl] Add support for "journal", which actually uses journalctl (diff)
downloadtmlite-bwlp-47de5012aec20ffadb7752739316b422f7e01936.tar.gz
tmlite-bwlp-47de5012aec20ffadb7752739316b422f7e01936.tar.xz
tmlite-bwlp-47de5012aec20ffadb7752739316b422f7e01936.zip
[systemctl] Allow show
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/systemctl2
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}@"