Update mm-scripts.sh

This commit is contained in:
2023-04-23 18:18:46 -05:00
parent ff239cfcc2
commit 88a6eea5d2

View File

@@ -268,6 +268,7 @@ MMSTART(){
sleep 2s
files=$(shopt -s nullglob dotglob; echo ${PLEX_MOUNT}/*)
echo "HERE: $files"
if (( ! ${#files} )); then
if [ -f ${MMFOLDER}/mm.plexmount.fail ]; then
fd=$(( `date +%s` - `stat -L --format %Y ${MMFOLDER}/mm.plexmount.fail` ))