diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-02 16:43:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 16:43:11 +0200 |
commit | c3c6a7c8236fb43c3bc7172257b7fb15921e1668 (patch) | |
tree | 2ad7035788a494b5cbf0a945320127570643e037 /utils/utils.go | |
parent | ffd2d783919e6038fe55e3e6b8cf44c0b3356a96 (diff) | |
parent | d172c987144a2140da608e81b2595a84bef4c163 (diff) | |
download | podman-c3c6a7c8236fb43c3bc7172257b7fb15921e1668.tar.gz podman-c3c6a7c8236fb43c3bc7172257b7fb15921e1668.tar.bz2 podman-c3c6a7c8236fb43c3bc7172257b7fb15921e1668.zip |
Merge pull request #5677 from giuseppe/avoid-lock-tty
exec: fix hang if control path is deleted
Diffstat (limited to 'utils/utils.go')
-rw-r--r-- | utils/utils.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/utils.go b/utils/utils.go index 3c8c0a9b0..cf58ca3fb 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -65,7 +65,6 @@ func CopyDetachable(dst io.Writer, src io.Reader, keys []byte) (written int64, e break } if i == len(keys)-1 { - // src.Close() return 0, ErrDetach } nr, er = src.Read(buf) |