mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
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 <pholzing@redhat.com>
This commit is contained in:
@@ -180,7 +180,7 @@ func Attach(ctx context.Context, nameOrID string, stdin io.Reader, stdout io.Wri
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return <-stdoutChan
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user