diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d854dc8a..65357f77 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -800,7 +800,7 @@ RUN_COMMAND(){ DOWNLIST(){ declare -i cw; declare -i spc1; declare -i c - DOWN_LIST=`find -maxdepth 1 ${NM_TMPFOLDER}/ -iname "*.down"` + DOWN_LIST=`find ${NM_TMPFOLDER}/ -maxdepth 1 -iname "*.down"` IFS=$'\n'; read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"; unset IFS if [ "${1}" == "report" ]; then unset idsCL idsBG idsST