diff --git a/squid/sup.sh b/squid/sup.sh index 708db81..2811e53 100644 --- a/squid/sup.sh +++ b/squid/sup.sh @@ -4,11 +4,10 @@ if [ -z "$supgethosts" ] && [ -z "$supicaphost" ]; then exit 0 fi -error=0 - while true do date=$(date +%d-%m-%Y_%w) +error=0 if [ -n "$supicaphost" ]; then c-icap-client -i $supicaphost -p $supicapport -s request > /tmp/test-icap-e2g-orion 2>&1 @@ -18,7 +17,6 @@ if [ -n "$supicaphost" ]; then else echo "SUP ICAP: ERROR $supicaphost" error=1 - exit 1 fi fi