Update emulator-sync-scripts.sh

This commit is contained in:
2023-08-12 17:24:09 -05:00
parent b6abb829ea
commit 3afc4752f5

View File

@@ -53,7 +53,7 @@ RUNSYNC(){
echo "$(date): Fixed" >> ${NC_PATH}/sync.log
SENDNOTICE "Nextcloud Sync Fixed" "Sync is running again"
/bin/rm -f ${ES_LOGFOLDER}/failures*
else
elif [ -f ${ES_LOGFOLDER}/failures2.txt ] && [ -f ${ES_LOGFOLDER}/failures.txt ]; then
echo "Nextcloud 2nd sync failure"
SENDNOTICE "Nextcloud 2nd Sync Failure" "${ES_LOGFOLDER}/failures2.txt Exists\n\n$(date)" 1
fi