fix icap sup
This commit is contained in:
parent
e6acb9159e
commit
8380db3ac7
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user