From 43194e36ab26e7a5e09e77bf9b926494ca3604b5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 22 Apr 2023 22:07:22 -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 9a0a8c7..d681399 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -286,7 +286,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf ### CHECK FOR PLEX MOUNT files=$(shopt -s nullglob dotglob; echo ${PLEX_MOUNT}/*) - if (( ! ${#files} )) && [ ! -f ${MMFOLDER}/mm.plexmount.fail2 ]; then + if (( ! ${#files} )); then echo "$(date) - Plex Media Not Mounted, will try and fix" >> $logfile umount ${PLEX_MOUNT} >/dev/null 2>&1 sleep 2s