Skip to content

Commit

Permalink
wrapped process should not remove temp log
Browse files Browse the repository at this point in the history
  • Loading branch information
jbardin committed Oct 23, 2020
1 parent 22f753a commit f598cbc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func wrappedMain() int {
if tmpLogPath != "" {
f, err := os.OpenFile(tmpLogPath, os.O_RDWR|os.O_APPEND, 0666)
if err == nil {
defer os.Remove(f.Name())
defer f.Close()

log.Printf("[DEBUG] Adding temp file log sink: %s", f.Name())
Expand Down

0 comments on commit f598cbc

Please sign in to comment.