Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-14 10:03:06 -06:00
parent b2b1b660b6
commit 749359a70b

View File

@@ -589,7 +589,7 @@ RUN_COMMAND(){
DOWNLIST(){
declare -i cw; declare -i spc1; declare -i c
DOWN_LIST=`find ${NM_TMPFOLDER} -name "*.down"`
DOWN_LIST=`find ${NM_TMPFOLDER}/ -iname "*.down"`
IFS=$'\n'
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
unset IFS
@@ -610,6 +610,7 @@ DOWNLIST(){
DIVIDER true
fi
echo ${DOWNLIST[@]}
echo ${DOWN_LIST[@]}
if [ "${DOWNLIST}" == "" ]; then
[ "${1}" == "report" ] && exit 0