diff options
author | June McEnroe <june@causal.agency> | 2020-08-16 23:01:25 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-16 23:01:25 -0400 |
commit | 6302579f2242830d2ab88930194d978707c174a9 (patch) | |
tree | 629fa90f37c4927927f616205c22b756c3600031 /catsit.sh | |
parent | Only call setgroups as root (diff) | |
download | catsit-6302579f2242830d2ab88930194d978707c174a9.tar.gz catsit-6302579f2242830d2ab88930194d978707c174a9.zip |
Add drop command
Diffstat (limited to '')
-rw-r--r-- | catsit.sh | 2 |
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 |