aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-04 04:06:10 -0800
committerGitHub <noreply@github.com>2018-11-04 04:06:10 -0800
commite106ccf416026e301cd94246d9d1c84c47de8e23 (patch)
tree0ece164068dfe19a39461dc93c9ae22f8c65eac6
parent2efcd63c642b2db0e9e5b957c08159e95c5e11a0 (diff)
parent59f93edacc483039c6a3ecd8b35817dcd9515d17 (diff)
downloadpodman-e106ccf416026e301cd94246d9d1c84c47de8e23.tar.gz
podman-e106ccf416026e301cd94246d9d1c84c47de8e23.tar.bz2
podman-e106ccf416026e301cd94246d9d1c84c47de8e23.zip
Merge pull request #1754 from isimluk/attach-shall-not-lock-me-out
`--interactive` shall keep STDIN attached even when not explicitly set
-rw-r--r--cmd/podman/run.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/podman/run.go b/cmd/podman/run.go
index e4b25eaf4..af6ced45d 100644
--- a/cmd/podman/run.go
+++ b/cmd/podman/run.go
@@ -96,8 +96,6 @@ func runCmd(c *cli.Context) error {
inputStream = nil
}
- inputStream = nil
-
attachTo := c.StringSlice("attach")
for _, stream := range attachTo {
switch strings.ToLower(stream) {