Skip to content

Commit

Permalink
Merge pull request #147 from Wallmob/master
Browse files Browse the repository at this point in the history
Added write flag to log file
  • Loading branch information
aryszka committed May 2, 2016
2 parents 0e724c8 + d48a768 commit 08b8adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skipper.go
Expand Up @@ -213,7 +213,7 @@ func getLogOutput(name string) (io.Writer, error) {
return os.Stderr, nil
}

return os.OpenFile(name, os.O_APPEND, os.ModeAppend)
return os.OpenFile(name, os.O_APPEND|os.O_WRONLY, os.ModeAppend)
}

func initLog(o Options) error {
Expand Down

0 comments on commit 08b8adf

Please sign in to comment.