Update mm-scripts.sh

This commit is contained in:
2023-03-23 22:24:14 -05:00
parent cd58692248
commit 8142308f6a

View File

@@ -511,6 +511,7 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
echo "$(date) - Bash script stuck in stop mode after doing a check, will restart" >> $logfile
SENDNOTICE "MM Script Error" "Bash script stuck in check mode, restarting system"
MMSTOP
rm -f ${MMFOLDER}/mm.stop*
getStuckMM=$(pgrep -f '/mm')
for i in $getStuckMM; do
/bin/kill $i