Update nodemgmt-scripts.sh
This commit is contained in:
@@ -594,17 +594,16 @@ DOWNLIST(){
|
||||
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
|
||||
unset IFS
|
||||
if [ "${1}" = "report" ]; then
|
||||
DOWNLIST=${DOWN_LIST}
|
||||
unset idsCL idsBG idsST
|
||||
idsCL=('')
|
||||
idsBG=('')
|
||||
idsST=('')
|
||||
else
|
||||
DOWNLIST=()
|
||||
for dli in "${DOWN_LIST[@]}"; do
|
||||
echo ${dli/disable/down}
|
||||
[ ! -f ${dli/down/disable} ] && DOWNLIST+=(${dli})
|
||||
done
|
||||
else
|
||||
DOWNLIST=${DOWN_LIST}
|
||||
fi
|
||||
|
||||
if [ -z ${ACTION} ] || [ "${ACTION}" = "gui" ]; then
|
||||
|
||||
Reference in New Issue
Block a user