diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -68,6 +68,11 @@ func run() error { state.RemoveUndue() + if state.NumFeeds() == 0 { + // nothing to do + return nil + } + if success := state.Fetch(); success == 0 { return fmt.Errorf("No successfull feed fetch.") } |