This commit is contained in:
2023-02-26 22:03:16 -06:00
parent 76ca238ba4
commit 4144d65aea
2 changed files with 5 additions and 1 deletions

4
run.sh
View File

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