diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/print-cache/print-cache.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/print-cache/print-cache.go b/tools/print-cache/print-cache.go index d20963a..b21643e 100644 --- a/tools/print-cache/print-cache.go +++ b/tools/print-cache/print-cache.go @@ -27,6 +27,8 @@ func main() { log.Fatal(err) } + defer func() {_ = feed.UnlockCache(cache)}() + fmt.Printf("Cache version %d\n", cache.Version()) if feedId != "" { fmt.Print(cache.SpecificInfo(feedId)) |