summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-06-21 18:31:58 +0000
committergVisor bot <gvisor-bot@google.com>2019-06-21 18:31:58 +0000
commit9836bf11b6aec373bd73142e6dc3965b46d0e363 (patch)
tree7e032d03ea3b4d7d3b6ccc871c8ce3c36e572335 /runsc/sandbox
parentbbb135e87199a4ef766246273c6ee6554f779d6b (diff)
parent335fd987b0d4f7c8e9a720b68fa5f3848500db51 (diff)
Merge 335fd987 (automated)
Diffstat (limited to 'runsc/sandbox')
-rw-r--r--runsc/sandbox/sandbox.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/runsc/sandbox/sandbox.go b/runsc/sandbox/sandbox.go
index 54ed7f990..3bd0291c0 100644
--- a/runsc/sandbox/sandbox.go
+++ b/runsc/sandbox/sandbox.go
@@ -440,7 +440,6 @@ func (s *Sandbox) createSandboxProcess(conf *boot.Config, args *Args, startSyncF
// Note that the Ctty field must be the FD of the TTY in the
// *new* process, not this process. Since we are about to
// assign the TTY to nextFD, we can use that value here.
- // stdin, we can use FD 0 here.
cmd.SysProcAttr.Setctty = true
cmd.SysProcAttr.Ctty = nextFD