removing debug trace

This commit is contained in:
Georg Lauterbach 2020-11-05 12:40:24 +01:00
parent 5365e7f0f8
commit dd5c0b003a
No known key found for this signature in database
GPG Key ID: 386D76E7AD496709
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ else
for JAIL in "${JAILS[@]}"
do
RESULT="$(fail2ban-client set "${JAIL}" unbanip "192.0.66.4" 2>&1)"
RESULT="$(fail2ban-client set "${JAIL}" unbanip "${@}" 2>&1)"
[[ "${RESULT}" != *"is not banned"* ]] && [[ "${RESULT}" != *"NOK"* ]] && echo -e "Unbanned IP from ${JAIL}: ${RESULT}"
done