From 3dff2b09751951ac2e25c65a0476b212d0c9b2c8 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sun, 5 Feb 2023 22:13:55 +0100 Subject: [PATCH] fix mail and ipinfo --- roles/deploy-web/files/blacklist.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/deploy-web/files/blacklist.sh b/roles/deploy-web/files/blacklist.sh index e35df99..4321bd0 100755 --- a/roles/deploy-web/files/blacklist.sh +++ b/roles/deploy-web/files/blacklist.sh @@ -50,7 +50,8 @@ do for i in ${list_ip[@]} do echo ${i} >> ${MAIL} - curl http://ipinfo.ip/${i} >> ${MAIL} + curl http://ipinfo.io/${i} >> ${MAIL} + echo "" >> ${MAIL} echo ${i} >> ${BLACKLIST} done echo "IP dejà blacklisté : " >> ${MAIL}