mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-03 19:23:42 +01:00
limits: Fix action
This commit is contained in:
@@ -83,6 +83,7 @@ if [ "$#" -lt 2 ] || [ "$#" -gt 4 ]; then
|
||||
fi
|
||||
|
||||
TARGET="${1}"
|
||||
ACTION="${2}"
|
||||
# Retain support for no action (will default to add)
|
||||
if [ "${ACTION}" != "remove" ] && [ "${ACTION}" != "clear" ] && [ "${ACTION}" != "list" ] && [ "${ACTION}" != "show" ] && [ "${ACTION}" != "reset" ] && [ "${ACTION}" != "stats" ]; then
|
||||
ACTION="add"
|
||||
|
||||
Reference in New Issue
Block a user