fix icap sup

This commit is contained in:
Fred 2023-02-28 09:57:17 +00:00
parent e6acb9159e
commit 8380db3ac7

View File

@ -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