mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
cmd/utils: fix geth test issue on OpenBSD (#31357)
This commit is contained in:
parent
edb38590f5
commit
68fa1275de
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