summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-27 04:08:03 -0800
committerGitHub <noreply@github.com>2018-11-27 04:08:03 -0800
commite679e768f14413b04a2f4d0e2b7def5a0c5f6a8f (patch)
tree2029b41065cb2ca46e71af520ef99801cd6ef7af /libpod
parent5636066e2fe1c3bdcc55ca97a7bb43a810d17e4d (diff)
parentfd014029300328c27ddb535d4868858ec47530f8 (diff)
downloadpodman-e679e768f14413b04a2f4d0e2b7def5a0c5f6a8f.tar.gz
podman-e679e768f14413b04a2f4d0e2b7def5a0c5f6a8f.tar.bz2
podman-e679e768f14413b04a2f4d0e2b7def5a0c5f6a8f.zip
Merge pull request #1832 from giuseppe/always-make-explicit-tty-to-exec
exec: always make explicit the tty value
Diffstat (limited to 'libpod')
-rw-r--r--libpod/oci.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/oci.go b/libpod/oci.go
index 8ee2c948f..a7aec06e5 100644
--- a/libpod/oci.go
+++ b/libpod/oci.go
@@ -741,6 +741,8 @@ func (r *OCIRuntime) execContainer(c *Container, cmd, capAdd, env []string, tty
if tty {
args = append(args, "--tty")
+ } else {
+ args = append(args, "--tty=false")
}
if user != "" {