banip: update 0.3.9

* fix 'enabled' service check

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit e38810f38e)
This commit is contained in:
Dirk Brenken
2019-11-10 18:55:21 +01:00
parent 49e57eadb3
commit c75917c8a9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ ban_script="/usr/bin/banip.sh"
ban_pidfile="/var/run/banip.pid"
if [ -s "${ban_pidfile}" ] && \
[ "${action}" != "help" ] && [ "${action}" != "status" ] && [ "${action}" != "boot" ]
[ "${action}" != "help" ] && [ "${action}" != "status" ] && [ "${action}" != "boot" ] && [ "${action}" != "enabled" ]
then
exit 1
fi