From a01a04815294e7dc5b85e9e85ed37d5c95706a18 Mon Sep 17 00:00:00 2001 From: bolvan Date: Thu, 11 May 2017 20:42:22 +0300 Subject: [PATCH] get_combined.sh grep fix --- ipset/get_combined.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipset/get_combined.sh b/ipset/get_combined.sh index 35c84da..36d2f8d 100755 --- a/ipset/get_combined.sh +++ b/ipset/get_combined.sh @@ -36,7 +36,7 @@ curl --fail --max-time 120 --max-filesize 10485760 -k -L "$ZURL_AZ" | cut_local exit 2 fi # do not include hosts banned by ip - grep -vFf $ZIPLIST_IPBAN $ZAZ >$ZIPLIST + grep -xvFf $ZIPLIST_IPBAN $ZAZ >$ZIPLIST rm -f $ZAZ "$EXEDIR/create_ipset.sh" }