From e8873c0808775474abed54bdbf673c56ead3f92e Mon Sep 17 00:00:00 2001 From: Aaron Johnson Date: Mon, 6 May 2019 18:43:49 -0500 Subject: [PATCH] More descriptive failure message --- scripts/srvstatus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/srvstatus b/scripts/srvstatus index b0fe0bf..e81e8b1 100755 --- a/scripts/srvstatus +++ b/scripts/srvstatus @@ -12,7 +12,7 @@ if nc -zvw3 $host $port 2>/dev/null; then rm /tmp/.stat exit 0 else - printf "Server is DOWN!" + printf "Server is not responding to telnet requests!" exit 1 fi