Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-14 10:00:21 -06:00
parent 0435fe023e
commit 55d1ae661a

View File

@@ -600,8 +600,7 @@ DOWNLIST(){
idsST=('')
DOWNLIST=()
for dli in "${DOWN_LIST[@]}"; do
# [ ! -f ${dli/.down/.disable} ] && DOWNLIST+=(${dli})
DOWNLIST+=(${dli})
[ ! -f ${dli/down/disable} ] && DOWNLIST+=(${dli})
done
else
DOWNLIST=${DOWN_LIST}
@@ -610,7 +609,7 @@ DOWNLIST(){
if [ -z ${NMG_ACTION} ] || [ "${NMG_ACTION}" = "gui" ]; then
DIVIDER true
fi
echo
echo ${DOWNLIST[@]}
if [ "${DOWNLIST}" == "" ]; then
[ "${1}" == "report" ] && exit 0