diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 865ae475..4f549a3c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1410,7 +1410,7 @@ GUI(){ dl|downlist) if [ "${2}" = "reportrun" ]; then - if [ "$(find ${NM_FOLDER} -maxdepth 1 -name '*.down')" != "" ]; then + if [ "$(find ${NM_TMPFOLDER} -maxdepth 1 -name '*.down')" != "" ]; then rm -f ${NM_LOGFOLDER}/status-downlist.lastrun DOWNLIST report >> ${NM_LOGFOLDER}/status-downlist.lastrun STATUSLOG="$(cat ${NM_LOGFOLDER}/status-downlist.lastrun)"