Update mm-scripts.sh

This commit is contained in:
2023-04-23 18:39:21 -05:00
parent 92fc023e78
commit 1b0e94ad30

View File

@@ -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