„update_blocklist.sh“ ändern

This commit is contained in:
Stephan 2022-10-20 07:39:37 +00:00
parent cf862c5d06
commit 5751553cd1

View file

@ -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"