check_remote_websites.sh: fix error in the name of the variable 'success'.

This commit is contained in:
Christoph 2019-05-05 14:25:36 +02:00
parent 404cc00a02
commit 1b1cdebe78

View File

@ -206,7 +206,7 @@ if [[ -n "$WEBSITES_TO_CHECK" ]] ; then
-I -k -L --write-out %{http_code} --silent --output /dev/null $_site 2> ${LOCK_DIR}/err.msg)"
if [[ "$response" -eq 200 ]]; then
echo_ok
_sucess=true
_success=true
break
fi
sleep 2