Merge pull request #1832 from giuseppe/always-make-explicit-tty-to-exec
exec: always make explicit the tty value
This commit is contained in:
commit
e679e768f1
|
|
@ -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 != "" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue