From c06625f696757fd13a80e431087751c45843b6cc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 10 May 2025 11:12:18 -0500 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index a7f49471..f80b8a45 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -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]