Update run.sh

This commit is contained in:
2023-02-26 18:19:42 -06:00
parent 0ed0bc3d90
commit 49926d4cad

2
run.sh
View File

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