Update notify_about_attack.sh

This commit is contained in:
Pavel Odintsov 2023-07-10 17:39:49 +01:00 committed by GitHub
parent 3b9701ba14
commit d674e7d76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ if [ "$4" = "ban" ]; then
fi
# Advanced edition does not use this action and passes all details in ban action
if [ "$4" == "attack_details" ]; then
if [ "$4" = "attack_details" ]; then
cat | mail -s "FastNetMon Guard: IP $1 blocked because $2 attack with power $3 pps" $email_notify;
exit 0