Update mm-scripts.sh

This commit is contained in:
2023-07-09 15:34:41 -05:00
parent d82a6c13e7
commit dec3638709

View File

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