mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
tt
This commit is contained in:
parent
12b7bdf705
commit
45dcbc8d3a
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ func InitOutputFile(outputFile string) {
|
|||
os.Exit(1)
|
||||
}
|
||||
var err error
|
||||
file, err = os.OpenFile(outputFile, os.O_APPEND|os.O_CREATE, 0644)
|
||||
file, err = os.OpenFile(outputFile, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, "Failed to create log file for timing.")
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue