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