summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
}
}