Properly close file
1 files changed, 1 insertions(+), 0 deletions(-) M cmd/tallyard/main.go
M cmd/tallyard/main.go => cmd/tallyard/main.go +1 -0
@@ 38,6 38,7 @@ func main() { if err == nil { log.SetLevel(log.DebugLevel) log.SetOutput(file) + defer file.Close() } else { log.Errorf("failed to open logging file; using default stderr: %s", err) }