From 8380db3ac76a817696bcc398b3be8a7f0208ff6d Mon Sep 17 00:00:00 2001 From: Fred Date: Tue, 28 Feb 2023 09:57:17 +0000 Subject: [PATCH] fix icap sup --- squid/sup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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