diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-06-28 18:53:09 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-06-28 18:53:09 +0200 |
commit | 54e9a48c546e795dd7f53216968df8b6bb67bd5b (patch) | |
tree | ae7cb3f83a67eb3e9eb053f3ec1e762d90f84045 /cmd/podman/utils.go | |
parent | c82166afabd63f6271990be89ffa6609d3dc6712 (diff) | |
download | podman-54e9a48c546e795dd7f53216968df8b6bb67bd5b.tar.gz podman-54e9a48c546e795dd7f53216968df8b6bb67bd5b.tar.bz2 podman-54e9a48c546e795dd7f53216968df8b6bb67bd5b.zip |
utils: fix endless write of resize event
issue introduced with c82166afabd63f6271990be89ffa6609d3dc6712
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman/utils.go')
-rw-r--r-- | cmd/podman/utils.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/utils.go b/cmd/podman/utils.go index 25bb36b60..72bdac256 100644 --- a/cmd/podman/utils.go +++ b/cmd/podman/utils.go @@ -182,6 +182,7 @@ func resizeTty(ctx context.Context, resize chan remotecommand.TerminalSize) { case <-sigchan: resizeEvent = getResize() case resize <- *resizeEvent: + resizeEvent = nil } } } |