From 1680830f91d5a18e2d96dc2046d48233bed66c7c Mon Sep 17 00:00:00 2001 From: Pawel Krawczyk Date: Wed, 26 Nov 2014 10:34:51 +0000 Subject: [PATCH] do not destroy temp set on init --- blacklist.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/blacklist.sh b/blacklist.sh index 73d1758..88823b8 100644 --- a/blacklist.sh +++ b/blacklist.sh @@ -57,7 +57,6 @@ for url in $urls; do hash_size=$(expr $new_list_size / 2) # start writing new set file - echo "destroy ${tmp_set_name}" >>"${new_set_file}" # clean up any left overs echo "create ${tmp_set_name} hash:net family inet hashsize ${hash_size} maxelem ${new_list_size}" >>"${new_set_file}" # convert list of IPs to ipset statements