Update mm-scripts.sh
This commit is contained in:
@@ -260,6 +260,7 @@ MMSTART(){
|
||||
|
||||
### CHECK FOR PLEX MOUNT
|
||||
files=$(shopt -s nullglob dotglob; echo ${PLEX_MOUNT}/*)
|
||||
echo "HERE: $files"
|
||||
if (( ! ${#files} )); then
|
||||
echo "$(date) - Plex Media Not Mounted, will try and fix" >> $logfile
|
||||
umount ${PLEX_MOUNT} >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user