feat(shell-sync): sync_all() part 3/3

This commit is contained in:
hoelee committed 2026-07-03 09:00:00 +08:00
1 parent dd71bc0e81
commit 9b40dc1c93
1 file changed
+4
+4
View File
@@ -323,3 +323,7 @@ sync_all() {
send_notification "IMAP sync batch failed" "Sync failed for account(s) $failed_accounts at $(date '+%Y-%m-%d %H:%M:%S'). Check ${LOG_DIR}/accountN.log for details." || notification_failures=1
fi
log "=== Sync cycle complete (success: ${successes:-none}; failed: ${failed_accounts:-none}) ==="
[ "$failures" -eq 0 ] && [ "$notification_failures" -eq 0 ]
}