Update mm-scripts.sh

This commit is contained in:
2023-04-23 18:40:52 -05:00
parent 1b0e94ad30
commit b4e6991fef

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 ] || [ -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