From 5ee876ab24e1c2466ef1ad2fd3dfc6347f93031b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 27 Apr 2023 14:14:35 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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*