diff --git a/inc/status.inc b/inc/status.inc index 7c6110e5..1d1da94c 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -20,11 +20,10 @@ STATUS(){ if [ "${ntypesel}" != "" ]; then ntypesel=(${ntypesel}) else - echo yes - ntypesel=$NM_NODE_TYPES[@] + ntypesel=${NM_NODE_TYPES[@]} fi - for NTYPE in "${!ntypesel}"; do + for NTYPE in "${ntypesel}"; do echo "HERE: $NTYPE" done