fail2ban - unban fix

sorry for my mistake
This commit is contained in:
mhsanaei 2024-12-19 23:24:10 +01:00
parent e4301f8d93
commit 49295661fd
No known key found for this signature in database
GPG Key ID: D875CD086CF668A0

View File

@ -1391,7 +1391,7 @@ iplimit_main() {
3) 3)
confirm "Proceed with Unbanning everyone from IP Limit jail?" "y" confirm "Proceed with Unbanning everyone from IP Limit jail?" "y"
if [[ $? == 0 ]]; then if [[ $? == 0 ]]; then
systemctl restart fail2ban fail2ban-client reload --restart --unban 3x-ipl
truncate -s 0 "${iplimit_banned_log_path}" truncate -s 0 "${iplimit_banned_log_path}"
echo -e "${green}All users Unbanned successfully.${plain}" echo -e "${green}All users Unbanned successfully.${plain}"
iplimit_main iplimit_main