Merge pull request #1832 from giuseppe/always-make-explicit-tty-to-exec

exec: always make explicit the tty value
This commit is contained in:
OpenShift Merge Robot 2018-11-27 04:08:03 -08:00 committed by GitHub
commit e679e768f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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 != "" {