mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +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.
|
||||
func Fatalf(format string, args ...interface{}) {
|
||||
w := io.MultiWriter(os.Stdout, os.Stderr)
|
||||
if runtime.GOOS == "windows" {
|
||||
// The SameFile check below doesn't work on Windows.
|
||||
if runtime.GOOS == "windows" || runtime.GOOS == "openbsd" {
|
||||
// The SameFile check below doesn't work on Windows neither OpenBSD.
|
||||
// stdout is unlikely to get redirected though, so just print there.
|
||||
w = os.Stdout
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue