mirror of
https://github.com/containers/podman.git
synced 2025-12-01 02:27:13 +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 err
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return <-stdoutChan
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user