• Felix Lange's avatar
    cmd/utils: don't check for stderr redirect on windows · b04219fd
    Felix Lange authored
    The redirect check did not work on Go 1.6 and below because Stat
    returned an error for stdout and stderr. In Go 1.7 Stat works on stdout
    but doesn't return anything meaningful, causing cmd/geth test failures
    because the message is printed to stderr only. Fix it by printing to
    stdout only.
    b04219fd
cmd.go 5.65 KB