Skip to content

Commit

Permalink
log: disable color output on windows, closes #93
Browse files Browse the repository at this point in the history
  • Loading branch information
jhillyerd committed May 5, 2018
1 parent 568474d commit 62fa52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/inbucket/main.go
Expand Up @@ -181,7 +181,7 @@ func openLog(level string, logfile string, json bool) (close func(), err error)
}
close = func() {}
var w io.Writer
color := true
color := runtime.GOOS != "windows"
switch logfile {
case "stderr":
w = os.Stderr
Expand Down

0 comments on commit 62fa52f

Please sign in to comment.