From b4e6991fefbe201b82fba5118fab096f6498d383 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 23 Apr 2023 18:40:52 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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