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