From 2702156bd7b13379f1454db92c534ed651e4b92c Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Fri, 12 Sep 2025 19:13:47 +0200 Subject: [PATCH] pkg/bindings: on terminal attach always wait for stdout to be done Do not exit early just because stdin copy was done. Signed-off-by: Paul Holzinger --- pkg/bindings/containers/attach.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bindings/containers/attach.go b/pkg/bindings/containers/attach.go index 3a03413f53..ff42c9928a 100644 --- a/pkg/bindings/containers/attach.go +++ b/pkg/bindings/containers/attach.go @@ -180,7 +180,7 @@ func Attach(ctx context.Context, nameOrID string, stdin io.Reader, stdout io.Wri return err } - return nil + return <-stdoutChan } } } else {