From 1b0e94ad302e32d86351165b239bf141e0d49218 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 23 Apr 2023 18:39:21 -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 b82e87f..304568f 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* ]]; 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