diff --git a/mm-scripts.sh b/mm-scripts.sh index 304568f..272332e 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -299,7 +299,7 @@ MMSTART(){ fi else echo -e "${idsCL[Green]}Mounted${idsCL[Default]}" - if [[ -f ${MMFOLDER}/mm.plexmount.fail* ]]; then + if [ -f ${MMFOLDER}/mm.plexmount.fail ] || [ -f ${MMFOLDER}/mm.plexmount.fail2 ]; then echo -e "${idsCL[Green]}Mounted, fixed${idsCL[Default]}" SENDNOTICE "Plex Media Mounted" "The Plex Media Folder was successfully re-mounted again!" 1 echo "$(date) - Plex Media now mounted, stopping services to restart them" >> $logfile