This commit is contained in:
2023-03-23 22:07:22 -05:00
parent 659e9b6abf
commit ce99453c16
2 changed files with 5 additions and 2 deletions

2
run.sh
View File

@@ -70,7 +70,7 @@ else
if [ "${1}" == "clear" ]; then
rm -f ${MMFOLDER}/mm.*
fi
if [ -f ${MMFOLDER}/mm.stop.checking ] && [ "${1}" != "status" ]; then
if [ -f ${MMFOLDER}/mm.stop.checking ] && [ "${1}" != "status" ] && [ "${1}" != "stop" ]; then
#fd=$(expr $(date +%s) - $(stat -L --format %Y ${MMFOLDER}/mm.stop.checking))
if [ $(expr $(date +%s) - $(stat -L --format %Y ${MMFOLDER}/mm.stop.checking)) -gt 900 ]; then
rm -f ${MMFOLDER}/mm.stop*