diff --git a/mm-scripts.sh b/mm-scripts.sh index 53406b2..f0d9c4c 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -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 1>&2 + [ ${i} -ne ${BASHPID} ] && (/bin/kill -s SIGKILL ${i} >/dev/null 1>&2) done echo -e "${idsCL[Green]}Done${idsCL[Default]}" exit 0