diff --git a/inc/status.inc b/inc/status.inc index 1132d0dc..911a0099 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -320,7 +320,7 @@ It was down for $(SHOW_TIME $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${ [ "${STATUS_ACTION}" != "check" ] && echo -e "${idsCL[LightGreen]}Complete${idsCL[Default]}\n" if [ ! -f ${NM_TMPFOLDER}/.replclean ] || [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/.replclean)) -ge 10800 ]; then - for NTYPE in "${ntypesel[@]}"; do + for NTYPE in "${NM_NODE_TYPES[@]}"; do echo "${NTYPE} Nodes ---" PH=${NTYPE}_HOSTS[0] if [ ! -f ${NM_FOLDER}/${!PH}.down ]; then @@ -335,6 +335,8 @@ It was down for $(SHOW_TIME $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${ [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/.replclean)) -ge 1200 ] echo "Removing" || echo "Not Removing" done # rm -f ${NM_REPL_CHECK_LOC[${rcheck}]}/test.${STATUS_START//-/}.repl & + else + echo "no files found" fi done fi