diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-25 17:50:12 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-25 17:51:42 +0200 |
commit | 60ff245e6d965785d54a212b2a4ddd9b16159460 (patch) | |
tree | f07bf776739213447f616901e1803fdd65845da5 /main.go | |
parent | 8c134b0ece0da2d774e2bad4df35803d3c30f500 (diff) | |
download | feed2imap-go-60ff245e6d965785d54a212b2a4ddd9b16159460.tar.gz feed2imap-go-60ff245e6d965785d54a212b2a4ddd9b16159460.tar.bz2 feed2imap-go-60ff245e6d965785d54a212b2a4ddd9b16159460.zip |
Remove undue feeds
Diffstat (limited to '')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,8 @@ func run() error { return err } + state.RemoveUndue() + if success := state.Fetch(); success == 0 { return fmt.Errorf("No successfull feed fetch.") } |