Update status.inc

This commit is contained in:
2023-11-25 20:39:02 -06:00
parent 78132f3af1
commit 11e47dc6a6

View File

@@ -159,7 +159,7 @@ STATUS(){
if [[ "${RUN_NODE_IP}" == *"${nip}"* ]]; then
NCMD=''; LH='- localhost'
else
NCMD="ssh root@${nip}"; LH=''
NCMD="ssh -o ConnectTimeout=3 root@${nip}"; LH=''
fi
if [ "${NCMD}" != "" ]; then
checkhost=$(CHECK_HOST ${nip})