This commit is contained in:
2023-02-26 21:55:21 -06:00
parent 49926d4cad
commit 73ce13e6a1
2 changed files with 6 additions and 4 deletions

View File

@@ -448,8 +448,10 @@ MMSTATUS(){
else
echo -e "${idsCL[Red]}Not correct${idsCL[Default]}"
echo
echo -e "${idsCL[LightCyan]}Shutting down system... fix yo shit${idsCL[Default]}"
MMSTOP
if [ ! -f ${MMFOLDER}/mm.checking ]; then
echo -e "${idsCL[LightCyan]}Shutting down system... fix yo shit${idsCL[Default]}"
MMSTOP
fi
fi
fi
@@ -462,7 +464,7 @@ MMSTATUS(){
echo -e "${idsCL[Green]}Good${idsCL[Default]}"
else
echo -e "${idsCL[Red]}Not Good${idsCL[Default]}"
if [ ! -f ${MMFOLDER}/mm.stop ]; then
if [ ! -f ${MMFOLDER}/mm.stop ] && [ ! -f ${MMFOLDER}/mm.checking ]; then
echo
echo -e "${idsCL[LightCyan]}Restarting system...${idsCL[Default]}"
MMSTOP