Update status.inc
This commit is contained in:
@@ -159,7 +159,7 @@ STATUS(){
|
|||||||
if [[ "${RUN_NODE_IP}" == *"${nip}"* ]]; then
|
if [[ "${RUN_NODE_IP}" == *"${nip}"* ]]; then
|
||||||
NCMD=''; LH='- localhost'
|
NCMD=''; LH='- localhost'
|
||||||
else
|
else
|
||||||
NCMD="ssh root@${nip}"; LH=''
|
NCMD="ssh -o ConnectTimeout=3 root@${nip}"; LH=''
|
||||||
fi
|
fi
|
||||||
if [ "${NCMD}" != "" ]; then
|
if [ "${NCMD}" != "" ]; then
|
||||||
checkhost=$(CHECK_HOST ${nip})
|
checkhost=$(CHECK_HOST ${nip})
|
||||||
|
|||||||
Reference in New Issue
Block a user