mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
Merge pull request #1754 from isimluk/attach-shall-not-lock-me-out
`--interactive` shall keep STDIN attached even when not explicitly set
This commit is contained in:
@ -96,8 +96,6 @@ func runCmd(c *cli.Context) error {
|
|||||||
inputStream = nil
|
inputStream = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
inputStream = nil
|
|
||||||
|
|
||||||
attachTo := c.StringSlice("attach")
|
attachTo := c.StringSlice("attach")
|
||||||
for _, stream := range attachTo {
|
for _, stream := range attachTo {
|
||||||
switch strings.ToLower(stream) {
|
switch strings.ToLower(stream) {
|
||||||
|
Reference in New Issue
Block a user