Update status.inc

This commit is contained in:
voltron committed 2023-11-25 15:20:48 -06:00
1 parent afefed74e6
commit fd47efce84
1 file changed
+1 -1
+1 -1
View File
@@ -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 3>&1)
[ "${checkhost}" != "false" ] && checkhostssl=$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok 2>&1)
else
checkhost=true
checkhostssl=ok