diff --git a/mm-scripts.sh b/mm-scripts.sh index 510f45b..fdb864b 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -676,12 +676,12 @@ MMSTATUS(){ until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Default]}" - if [ ! -f ${PLEX_MOUNT}/mounted ] && [ ! -f ${MMFOLDER}/mm.plexmount.fail2 ]; then - echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}" - - elif [ -f ${MMFOLDER}/mm.plexmount.fail2 ]; then + if [ -f ${MMFOLDER}/mm.plexmount.fail2 ]; then echo -e "${idsCL[Red]}Not Mounted, running services as chosen previously${idsCL[Default]}" - + + elif [ ! -f ${PLEX_MOUNT}/mounted ]; then + echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}" + else echo -e "${idsCL[Green]}Mounted${idsCL[Default]}" rm -f ${MMFOLDER}/mm.plexmount.fail*