8a42612031
Update changelog. Clears up the FreeBSD dup2 patch issues; the build flags were causing compile failures on other target OSes.
13 lines
154 B
Go
13 lines
154 B
Go
// +build !freebsd,arm64
|
|
|
|
package logging
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func stderrToLogfile(logfile *os.File) {
|
|
syscall.Dup3(int(logfile.Fd()), 2, 0)
|
|
}
|