Update mm-scripts.sh

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

View File

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