From e184fbe1ffce3daae47b8b800779a7de5771ffca Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 30 Mar 2022 19:05:59 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm-scripts.sh b/mm-scripts.sh index 0ce9b2b..915dcdc 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -176,6 +176,7 @@ if [ ! -f /opt/mm.update.stop ]; then start | check) if [ -f /opt/mm.stop ] && [ "${action}" = "check" ]; then echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}" + echo exit 1 fi touch /opt/mm.stop @@ -187,6 +188,7 @@ if [ ! -f /opt/mm.update.stop ]; then restart) if [ -f /opt/mm.stop ]; then echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}" + echo exit 1 fi MMSTOP