Update status.inc
This commit is contained in:
@@ -163,7 +163,7 @@ STATUS(){
|
|||||||
fi
|
fi
|
||||||
if [ "${NCMD}" != "" ]; then
|
if [ "${NCMD}" != "" ]; then
|
||||||
checkhost=$(CHECK_HOST ${nip})
|
checkhost=$(CHECK_HOST ${nip})
|
||||||
[ "${checkhost}" != "false" ] && checkhostssl=$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok 3>&1)
|
[ "${checkhost}" != "false" ] && checkhostssl=$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok 2>&1)
|
||||||
else
|
else
|
||||||
checkhost=true
|
checkhost=true
|
||||||
checkhostssl=ok
|
checkhostssl=ok
|
||||||
|
|||||||
Reference in New Issue
Block a user