diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9ecaeb80..5e932878 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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