summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-06-28 17:43:58 -0400
committerGitHub <noreply@github.com>2018-06-28 17:43:58 -0400
commit183cde0c680a6fe2aa491b7756758d7ad5db51c0 (patch)
tree0a8a6dea2f855e8622ddb7d1fffd379e254a2e48 /cmd/podman
parent67f68626e6e5116ec088f511a0f8a17158b303db (diff)
parent54e9a48c546e795dd7f53216968df8b6bb67bd5b (diff)
downloadpodman-183cde0c680a6fe2aa491b7756758d7ad5db51c0.tar.gz
podman-183cde0c680a6fe2aa491b7756758d7ad5db51c0.tar.bz2
podman-183cde0c680a6fe2aa491b7756758d7ad5db51c0.zip
Merge pull request #1020 from giuseppe/resize-fix-loop
utils: fix endless write of resize event
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/utils.go1
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
}
}
}