fix icap sup
This commit is contained in:
parent
e6acb9159e
commit
8380db3ac7
@ -4,11 +4,10 @@ if [ -z "$supgethosts" ] && [ -z "$supicaphost" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
error=0
|
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
date=$(date +%d-%m-%Y_%w)
|
date=$(date +%d-%m-%Y_%w)
|
||||||
|
error=0
|
||||||
|
|
||||||
if [ -n "$supicaphost" ]; then
|
if [ -n "$supicaphost" ]; then
|
||||||
c-icap-client -i $supicaphost -p $supicapport -s request > /tmp/test-icap-e2g-orion 2>&1
|
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
|
else
|
||||||
echo "SUP ICAP: ERROR $supicaphost"
|
echo "SUP ICAP: ERROR $supicaphost"
|
||||||
error=1
|
error=1
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user