From ad3883093495442ed39f099683c7ec2b723d0d33 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 23 Mar 2023 21:47:26 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index ac0581d..49e6729 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -488,11 +488,10 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then fi case $action in start | check) - echo 'yes' - - if [ -f ${MMFOLDER}/mm.stop* ] && [ "${action}" = "check" ]; then + if [ -f ${MMFOLDER}/mm.stop* ] && [ "${action}" == "check" ]; then if [ -f ${MMFOLDER}/mm.stop.checking ]; then echo 'yes' + echo ${MMFOLDER} checkstopped=`expr $(date +%s) - $(stat -c %Y ${MMFOLDER}/mm.stop.checking)` if [ $checkstopped -gt 900 ]; then