Update mm-scripts.sh

This commit is contained in:
2023-07-09 15:17:09 -05:00
parent 901ac0dba4
commit dc3c514ffb

View File

@@ -581,9 +581,10 @@ FULLSTOP(){
echo -en "${idsCL[LightCyan]}Stopping background MM scripts... ${idsCL[Default]}"
getMMbash=$(pgrep -f '/mm') >/dev/null 2>&1
for i in $getMMbash; do
/bin/kill $i >/dev/null 2>&1 && echo
[ ${i} -ne ${BASHPID} ] && /bin/kill ${i} >/dev/null 2>&1
done
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
/bin/kill ${BASHPID} >/dev/null 2>&1 && echo
}
MMSTATUS(){