Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Stop checking for updates on boot.

Kailash Nadh44adcd44de11
diff --git a/cmd/updates.go b/cmd/updates.go
index 73f327d0..af52b673 100644
--- a/cmd/updates.go
+++ b/cmd/updates.go
@@ -36,7 +36,7 @@ func checkUpdates(curVersion string, interval time.Duration, app *App) {
ticker := time.NewTicker(interval)
defer ticker.Stop()
- for ; true; <-ticker.C {
+ for range ticker.C {
resp, err := http.Get(updateCheckURL)
if err != nil {
app.log.Printf("error checking for remote update: %v", err)