From 057a225d1d0bfe60f2f0699167cdd3b194a10c9f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 16 Nov 2023 08:34:09 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 053ec735..b6f90cd2 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -14,7 +14,7 @@ STATUS(){ for NTYPE in "${NM_NODE_TYPES[@]}"; do if [ "${ST_ACTION^^}" == "${NTYPE}" ]; then ntypesel=${NTYPE} - ST_ACTION="" + ST_ACTION=${2} break fi done @@ -127,10 +127,7 @@ STATUS(){ if [ "${ST_ACTION}" != "check" ]; then echo; fi fi ######################## - echo ${ntypesel[@]} - for NTYPE in "${ntypesel[@]}"; do - echo "HERTE: $NTYPE" - done + for NTYPE in "${ntypesel[@]}"; do echo "HERTE: $NTYPE" nid=1