update
This commit is contained in:
4
run.sh
4
run.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user