summary refs log tree commit diff
path: root/catsit.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-16 23:01:25 -0400
committerJune McEnroe <june@causal.agency>2020-08-16 23:01:25 -0400
commit6302579f2242830d2ab88930194d978707c174a9 (patch)
tree629fa90f37c4927927f616205c22b756c3600031 /catsit.sh
parentOnly call setgroups as root (diff)
downloadcatsit-6302579f2242830d2ab88930194d978707c174a9.tar.gz
catsit-6302579f2242830d2ab88930194d978707c174a9.zip
Add drop command
Diffstat (limited to '')
-rw-r--r--catsit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/catsit.sh b/catsit.sh
index 0e2a7e1..6433109 100644
--- a/catsit.sh
+++ b/catsit.sh
@@ -27,7 +27,7 @@ fi
 [ $# -lt 2 ] && die 'service name required'
 
 action=$(echo "${1}" | tr 'A-Z' 'a-z')
-for valid in start stop restart status $(kill -l | tr 'A-Z' 'a-z'); do
+for valid in start stop restart status drop $(kill -l | tr 'A-Z' 'a-z'); do
 	[ "${action}" = "${valid}" ] && break
 done
 if [ "${action}" != "${valid}" ]; then