diff --git a/check-status b/check-status index 93f2b1d..8ab9cbc 100644 --- a/check-status +++ b/check-status @@ -204,9 +204,10 @@ check-http(){ response=OK else if [ -z $response ] ; then - response='Timeout?' + response='ERROR: TIMEOUT' + else + response="ERROR ($response)" fi - response="ERROR ($response)" fi echo $response