Update status.inc

This commit is contained in:
2025-05-10 11:12:18 -05:00
parent 68ef5a7b35
commit c06625f696

View File

@@ -59,7 +59,7 @@ STATUS(){
PH=${NTYPE}_HOSTS[0]
skip=0
if [ -f ${NM_TMPFOLDER}/${!PH}.disable ] || [ -f ${NM_TMPFOLDER}/${!PH}.down ]; then
if [ $(eval echo \${#${PHA}[@]}) -eq 2 ]; then
if [ "$(eval echo \${#${PHA}[@]})" == "2" ]; then
skip=1
else
PH=${NODETYPE}_HOSTS[1]