From f770f9aef7345d516390176b9e4617ed1278be70 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Nov 2023 15:15:55 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index 579befd5..b8f08846 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -163,7 +163,7 @@ STATUS(){ fi if [ "${NCMD}" != "" ]; then checkhost=$(CHECK_HOST ${nip}) - [ "${checkhost}" != "false" ] && checkhostssl=$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok) || checkhostssl='' + [ "${checkhost}" != "false" ] && checkhostssl=$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok) echo "HERE: $checkhost - $checkhostssl" else checkhost=true