Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user