summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/systemctl2
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