diff --git a/doall.sh b/doall.sh index b7e2cce..bb6e296 100755 --- a/doall.sh +++ b/doall.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + HERE="$(dirname "$(readlink -f "${0}")")" cd "$HERE" diff --git a/parse.sh b/parse.sh index 02a9402..479e472 100755 --- a/parse.sh +++ b/parse.sh @@ -77,3 +77,5 @@ echo "iplist_all: $(wc -l result/iplist_all.txt)" >&2 echo "iplist_special_range: $(wc -l result/iplist_special_range.txt)" >&2 echo "iplist_blockedbyip: $(wc -l result/iplist_blockedbyip.txt)" >&2 echo "iplist_blockedbyip_noid2971: $(wc -l result/iplist_blockedbyip_noid2971.txt)" >&2 + +exit 0 diff --git a/process.sh b/process.sh index 0ee1f9c..9fd553f 100755 --- a/process.sh +++ b/process.sh @@ -17,3 +17,5 @@ set -e #cp result/squid-whitelist-zones.conf /etc/squid/whitelistedhosts.txt #cp result/iplist_all.txt /etc/squid/whitelistedips.txt #systemctl reload squid || true + +exit 0