aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-25 21:28:49 +0900
committerOphestra <cat@gensokyo.uk>2025-10-25 21:29:24 +0900
commit470e545d2761b77f95147f61f633f4d629750ee7 (patch)
tree5badf0a34ecaa1487e88ffe6aa0467f7d55cd4c4 /cmd
parent8d3381821f2a8d257a4c55c0dd311019bd0e78eb (diff)
internal/app/state: use internal/lockedfile
This is a pretty solid implementation backed by robust tests, with a much cleaner interface. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hakurei/print.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/hakurei/print.go b/cmd/hakurei/print.go
index 3b4730ff..aa7a26a1 100644
--- a/cmd/hakurei/print.go
+++ b/cmd/hakurei/print.go
@@ -174,9 +174,6 @@ func printPs(output io.Writer, now time.Time, s state.Store, short, flagJSON boo
} else {
entries = e
}
- if err := s.Close(); err != nil {
- log.Printf("cannot close store: %v", err)
- }
if !short && flagJSON {
es := make(map[string]*hst.State, len(entries))