diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-08-31 02:15:10 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-31 02:15:10 +0000 |
commit | 15bc1f77009efefdd417e986507f74f6efd629a4 (patch) | |
tree | c15fed84ebcfdc31ec3540e42b23935291955e50 /pkg/sentry/kernel/task_start.go | |
parent | 5f40ea3e1fb621e6bcf2dc04bd516003c86808e0 (diff) | |
parent | 0352cf5866ddb5eea24fa35c69e2e43038cfb60a (diff) |
Merge 0352cf58 (automated)
Diffstat (limited to 'pkg/sentry/kernel/task_start.go')
-rw-r--r-- | pkg/sentry/kernel/task_start.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/task_start.go b/pkg/sentry/kernel/task_start.go index ae6fc4025..d60cd62c7 100644 --- a/pkg/sentry/kernel/task_start.go +++ b/pkg/sentry/kernel/task_start.go @@ -172,10 +172,9 @@ func (ts *TaskSet) newTask(cfg *TaskConfig) (*Task, error) { if parentPG := tg.parentPG(); parentPG == nil { tg.createSession() } else { - // Inherit the process group and terminal. + // Inherit the process group. parentPG.incRefWithParent(parentPG) tg.processGroup = parentPG - tg.tty = t.parent.tg.tty } } tg.tasks.PushBack(t) |