diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 33c93c2cc6..d91d6ca5a8 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -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 {