Update mm-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user