diff --git a/cmd/inbucket/main.go b/cmd/inbucket/main.go index 30152c9..88df1ab 100644 --- a/cmd/inbucket/main.go +++ b/cmd/inbucket/main.go @@ -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