aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r--cmd/podman/create.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go
index fe6d30c9e..a25f31717 100644
--- a/cmd/podman/create.go
+++ b/cmd/podman/create.go
@@ -447,13 +447,7 @@ func parseCreateOpts(c *cli.Context, runtime *libpod.Runtime, imageName string,
return nil, err
}
- // Because we cannot do a non-terminal attach, we need to set tty to true
- // if detach is not false
- // TODO Allow non-terminal attach
tty := c.Bool("tty")
- if !c.Bool("detach") && !tty {
- tty = true
- }
pidMode := container.PidMode(c.String("pid"))
if !pidMode.Valid() {