From 6302579f2242830d2ab88930194d978707c174a9 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 16 Aug 2020 23:01:25 -0400 Subject: Add drop command --- catsit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catsit.sh') 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 -- cgit 1.4.1