From 4bb68193199baa65732ff8fd4a52b5a487b35178 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 25 Oct 2021 13:37:56 -0600 Subject: [PATCH] Fix to reopening all mothballs every 2s #180 --- cmd/mothd/mothballs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/mothd/mothballs.go b/cmd/mothd/mothballs.go index 67b7679..f204975 100644 --- a/cmd/mothd/mothballs.go +++ b/cmd/mothd/mothballs.go @@ -168,6 +168,7 @@ func (m *Mothballs) refresh() { m.categories[categoryName] = zipCategory{ Fs: zipfs.New(zrc), Closer: f, + mtime: fi.ModTime(), } log.Println("Adding category:", categoryName)