From 0c25f301ee0238a09248253854a815228fc6cb3a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 15 Jul 2023 01:14:59 +0300 Subject: [PATCH] tweak Signed-off-by: Alex A. Naanou --- check-status | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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