Enable proxy-go to create its log file.

This commit is contained in:
David Fifield 2017-06-29 16:09:25 -07:00
parent faeb8da8c9
commit c2c1a9d09d

View file

@ -302,7 +302,7 @@ func main() {
flag.Parse()
if logFilename != "" {
f, err := os.OpenFile(logFilename, os.O_WRONLY | os.O_APPEND, 0600)
f, err := os.OpenFile(logFilename, os.O_CREATE | os.O_WRONLY | os.O_APPEND, 0600)
if err != nil {
log.Fatal(err)
}