diff options
author | Anton Tykhyy <atykhyy@gmail.com> | 2021-09-13 17:42:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 17:42:48 +0300 |
commit | c23f81fab6183892a3565e6b2a818ad9db22421c (patch) | |
tree | 66d1ea48923e7710e84e72208fb82353987053fe /contrib/tmpfile | |
parent | 0f3d3bd21da0b67542c44c832f0e1642c5f639cf (diff) | |
download | podman-c23f81fab6183892a3565e6b2a818ad9db22421c.tar.gz podman-c23f81fab6183892a3565e6b2a818ad9db22421c.tar.bz2 podman-c23f81fab6183892a3565e6b2a818ad9db22421c.zip |
Fix #11444: remote breaks with stdout redirection
`setConsoleMode` should do nothing if the handle is not a terminal. The proposed change is [exactly what `golang.org/x/term/IsTerminal()` does on Windows](https://cs.opensource.google/go/x/term/+/6886f2df:term_windows.go).
[NO TESTS NEEDED]
Signed-off-by: Anton Tykhyy <atykhyy@gmail.com>
Diffstat (limited to 'contrib/tmpfile')
0 files changed, 0 insertions, 0 deletions