From 5751553cd1dfd0a9f47022c254163747d7c8d5ad Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 20 Oct 2022 07:39:37 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eupdate=5Fblocklist.sh=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update_blocklist.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update_blocklist.sh b/update_blocklist.sh index 9322022..6322c5a 100644 --- a/update_blocklist.sh +++ b/update_blocklist.sh @@ -253,6 +253,7 @@ while read BLOCKED_IP ; do # check GeoIP if [ "$useGeoIP" = blockonly ] || [ "$useGeoIP" = blockother ]; then request_GeoIP_result="$(request_GeoIP "$BLOCKED_IP")" + if grep -qi "is not in the database" <<<"$request_GeoIP_result" ; then # is not in the database request_GeoIP_result="empty"