check_remote_websites.sh: Fix error - _sucess -> success.

This commit is contained in:
Christoph 2019-05-03 03:02:21 +02:00
parent 08f05bd926
commit 404cc00a02

View File

@ -200,7 +200,7 @@ if [[ -n "$WEBSITES_TO_CHECK" ]] ; then
echononl " Check site \033[1m$_site\033[m .."
declare -i i=0
_sucess=false
_success=false
while [[ $i -lt 3 ]] ; do
response="$(curl --max-time $TIME_OUT --connect-timeout 30 \
-I -k -L --write-out %{http_code} --silent --output /dev/null $_site 2> ${LOCK_DIR}/err.msg)"