From 47de5012aec20ffadb7752739316b422f7e01936 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 7 Jul 2020 10:55:57 +0200 Subject: [systemctl] Allow show --- scripts/systemctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}@" -- cgit v1.2.3-55-g7522