From 1a6f9298caa2292576ad705870ecfffc7dee08b2 Mon Sep 17 00:00:00 2001 From: Maxim Kurbatov Date: Tue, 12 Nov 2024 00:56:58 +0500 Subject: [PATCH] Fix logs for local lists --- lib/downloader.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/downloader.go b/lib/downloader.go index 2d02020..7ac118a 100644 --- a/lib/downloader.go +++ b/lib/downloader.go @@ -27,6 +27,7 @@ func DownloadLists(config *Config) error { if err := os.WriteFile(path, []byte(strings.Join(list.Hosts, "\n")), 0644); err != nil { return fmt.Errorf("failed to write list file to %s: %v", path, err) } + continue } log.Printf("Downloading list \"%s-%s\" from URL: %s", ipset.IpsetName, list.ListName, list.URL)