limits: Fix action again

This commit is contained in:
tschettervictor
2025-03-29 18:23:51 -06:00
committed by GitHub
parent 683135b575
commit 0d2c35d768

View File

@@ -85,7 +85,7 @@ 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
if [ "${ACTION}" != "add" ] && [ "${ACTION}" != "remove" ] && [ "${ACTION}" != "clear" ] && [ "${ACTION}" != "list" ] && [ "${ACTION}" != "show" ] && [ "${ACTION}" != "reset" ] && [ "${ACTION}" != "stats" ]; then
ACTION="add"
shift 1
else