forked from forks/go-ethereum
cmd/utils: fix geth test issue on OpenBSD (#31357)
This commit is contained in:
parent
e3853e910a
commit
7d99f7df00
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ var ErrImportInterrupted = errors.New("interrupted")
|
|||
// 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