check_remote_websites.sh: Fix error - _sucess -> success.
This commit is contained in:
parent
08f05bd926
commit
404cc00a02
@ -200,7 +200,7 @@ if [[ -n "$WEBSITES_TO_CHECK" ]] ; then
|
|||||||
echononl " Check site \033[1m$_site\033[m .."
|
echononl " Check site \033[1m$_site\033[m .."
|
||||||
|
|
||||||
declare -i i=0
|
declare -i i=0
|
||||||
_sucess=false
|
_success=false
|
||||||
while [[ $i -lt 3 ]] ; do
|
while [[ $i -lt 3 ]] ; do
|
||||||
response="$(curl --max-time $TIME_OUT --connect-timeout 30 \
|
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)"
|
-I -k -L --write-out %{http_code} --silent --output /dev/null $_site 2> ${LOCK_DIR}/err.msg)"
|
||||||
|
Loading…
Reference in New Issue
Block a user