Skip to content

Commit 7d99f7d

Browse files
authored
cmd/utils: fix geth test issue on OpenBSD (#31357)
1 parent e3853e9 commit 7d99f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/utils/cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ var ErrImportInterrupted = errors.New("interrupted")
6363
// is redirected to a different file.
6464
func Fatalf(format string, args ...interface{}) {
6565
w := io.MultiWriter(os.Stdout, os.Stderr)
66-
if runtime.GOOS == "windows" {
67-
// The SameFile check below doesn't work on Windows.
66+
if runtime.GOOS == "windows" || runtime.GOOS == "openbsd" {
67+
// The SameFile check below doesn't work on Windows neither OpenBSD.
6868
// stdout is unlikely to get redirected though, so just print there.
6969
w = os.Stdout
7070
} else {

0 commit comments

Comments
 (0)