From f188737702a99f5a4d91327fb94cc4057709d67e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 22 Feb 2025 21:07:26 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 9285e05..b3ce8c2 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -738,7 +738,7 @@ MMSTATUS(){ echo -e "${idsCL[Green]}Good${idsCL[Default]}" else echo -e "${idsCL[Red]}Not Routing${idsCL[Default]}" - if ([ ! -f ${TMPFOLDER}/mm.stop* ] && [ "${1}" == "fix" ]) || ([ ! -f ${TMPFOLDER}/mm.stop ] && [ -f ${TMPFOLDER}/mm.stop.checking ] && [ "${1}" == "fix" ]); then + if ([ ! -f ${TMPFOLDER}/mm.stop* ] && ([ "${1}" == "fix" ] || [ "${1}" == "q" ])) || ([ ! -f ${TMPFOLDER}/mm.stop ] && [ -f ${TMPFOLDER}/mm.stop.checking ] && ([ "${1}" == "fix" ] || [ "${1}" == "q" ])); then echo echo -e "${idsCL[LightCyan]}Restarting system...${idsCL[Default]}" ([ -f ${TMPFOLDER}/mm.noservices ] || [ -f ${MMFOLDER}/mm.noservices ]) && rv="vpn" || rv=""