From eea674b1a45e1bde43a21d66d983ba1f8505fba2 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 10 May 2022 13:30:44 -0600 Subject: [PATCH] Remove `events.csv` on init. Fixes #177 --- cmd/mothd/state.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/mothd/state.go b/cmd/mothd/state.go index 9d11621..d8f09d1 100644 --- a/cmd/mothd/state.go +++ b/cmd/mothd/state.go @@ -303,6 +303,7 @@ func (s *State) maybeInitialize() { s.Remove("enabled") s.Remove("hours.txt") s.Remove("points.log") + s.Remove("events.csv") s.Remove("messages.html") s.Remove("mothd.log") s.RemoveAll("points.tmp")