mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Enable proxy-go to create its log file.
This commit is contained in:
parent
faeb8da8c9
commit
c2c1a9d09d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue