Update mm-scripts.sh

This commit is contained in:
2022-03-14 18:19:10 -05:00
parent 58aa011ec5
commit 17f33b3422

View File

@@ -161,8 +161,8 @@ MMSTATUS(){
echo
}
case $action in
if [ ! -f /opt/mm.update.stop ]; then
case $action in
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]}"
@@ -198,7 +198,13 @@ case $action in
echo ""
echo ""
exit 0;;
esac
esac
else
echo -e "${idsCL[Yellow]}Part of the system is currently updating, please try again shortly. Updates usually only take 1-3mins.${idsCL[Default]}"
fi
exit 0