From f28b87331a47fa647508481f08af1af2c00a2c7b Mon Sep 17 00:00:00 2001 From: bolvan Date: Wed, 16 Mar 2016 08:48:14 +0300 Subject: [PATCH] create_ipset cosmetic fix --- ipset/create_ipset.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ipset/create_ipset.sh b/ipset/create_ipset.sh index 83fe580..bc7be11 100755 --- a/ipset/create_ipset.sh +++ b/ipset/create_ipset.sh @@ -18,6 +18,7 @@ do [ -f $TEMPIPSET ] && rm -f $TEMPIPSET [ -f "$f" ] && { echo Adding to ipset "$1" : $f + touch $TEMPIPSET sort $f | uniq | while read ip; do echo add $1 $ip >>$TEMPIPSET