From 404cc00a023bac2b2812691fb34183ff00c1c911 Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 3 May 2019 03:02:21 +0200 Subject: [PATCH] check_remote_websites.sh: Fix error - _sucess -> success. --- check_remote_websites.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_remote_websites.sh b/check_remote_websites.sh index f320f23..cf0eaec 100755 --- a/check_remote_websites.sh +++ b/check_remote_websites.sh @@ -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)"