diff --git a/inc/status.inc b/inc/status.inc index 86c3fb3a..7a4514c2 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -330,7 +330,7 @@ It was down for $(SHOW_TIME $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${ for rcheck in "${!var}"; do echo "${rcheck} folder" if [ $(${PH_CMD} ls ${NM_REPL_CHECK_LOC[${rcheck}]}/test.*.repl 2>/dev/null | wc -l) -gt 0 ]; then - for replfile in $(${PH_CMD} ${NM_REPL_CHECK_LOC[${rcheck}]}/test.*.repl); do + for replfile in $(${PH_CMD} ls ${NM_REPL_CHECK_LOC[${rcheck}]}/test.*.repl); do echo -en "${replfile} : " [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/.replclean)) -ge 1200 ] && echo "Removing" || echo "Not Removing" done