We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 085a4de commit b5c5a88Copy full SHA for b5c5a88
cmd/dump.go
@@ -272,6 +272,7 @@ func runDump(ctx *cli.Context) error {
272
fatal("Failed to create tmp file: %v", err)
273
}
274
defer func() {
275
+ _ = dbDump.Close()
276
if err := util.Remove(dbDump.Name()); err != nil {
277
log.Warn("Unable to remove temporary file: %s: Error: %v", dbDump.Name(), err)
278
0 commit comments