mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Fixes regression test problems in OpenBSD/adJ. Thanks to @holiman. Closes #30961
This commit is contained in:
parent
4cdd7c8631
commit
dc8c4f7dcd
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ const (
|
||||||
// is redirected to a different file.
|
// is redirected to a different file.
|
||||||
func Fatalf(format string, args ...interface{}) {
|
func Fatalf(format string, args ...interface{}) {
|
||||||
w := io.MultiWriter(os.Stdout, os.Stderr)
|
w := io.MultiWriter(os.Stdout, os.Stderr)
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" || runtime.GOOS == "openbsd" {
|
||||||
// The SameFile check below doesn't work on Windows.
|
// The SameFile check below doesn't work on Windows neither OpenBSD.
|
||||||
// stdout is unlikely to get redirected though, so just print there.
|
// stdout is unlikely to get redirected though, so just print there.
|
||||||
w = os.Stdout
|
w = os.Stdout
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue