diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-10 14:25:10 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-10 14:25:10 +0200 |
commit | 81d6c2939ac477db751094c4ed6c25349f8c1153 (patch) | |
tree | fea54f925b307132548c192870ca46c47adf5ff8 | |
parent | f03e35acfb802f3056caf65d03b46917840db211 (diff) | |
download | feed2imap-go-81d6c2939ac477db751094c4ed6c25349f8c1153.tar.gz feed2imap-go-81d6c2939ac477db751094c4ed6c25349f8c1153.tar.bz2 feed2imap-go-81d6c2939ac477db751094c4ed6c25349f8c1153.zip |
Fix building cache
Diffstat (limited to '')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -108,7 +108,9 @@ func run() error { defer c.Disconnect() } - if !*buildCache { + if *buildCache { + state.Foreach((*feed.Feed).MarkSuccess) + } else { state.ForeachGo(func(f *feed.Feed) { processFeed(f, c, *dryRun) }) |