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