diff --git a/cmd/stdiscosrv/database.go b/cmd/stdiscosrv/database.go index d9c9d619b..d30b758f0 100644 --- a/cmd/stdiscosrv/database.go +++ b/cmd/stdiscosrv/database.go @@ -306,7 +306,7 @@ func (s *inMemoryStore) write() (err error) { } if err := bw.Flush(); err != nil { - _ = fd.Close + _ = fd.Close() return err } if err := fd.Close(); err != nil {