summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-06-21 11:23:00 -0700
committergVisor bot <gvisor-bot@google.com>2019-06-21 11:24:12 -0700
commit335fd987b0d4f7c8e9a720b68fa5f3848500db51 (patch)
treee3b4afa3fce546308561b96a64bdb138cf27e991 /runsc
parent054b5632ef9f2ce72b4aaa32f68ecb83b1c41834 (diff)
Delete dangling comment line.
This was from an old comment, which was superseded by the existing comment which is correct. PiperOrigin-RevId: 254434535
Diffstat (limited to 'runsc')
-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