summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/spec.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2021-09-22 11:29:38 -0700
committergVisor bot <gvisor-bot@google.com>2021-09-22 11:32:11 -0700
commitcc095a6e4c26c6a818e92a7d1f5d2b59c2a2e163 (patch)
tree56d0fbb89f69cdb8817b7083cd11666ad9981a2b /runsc/cmd/spec.go
parent0ed53e5e92a065f63864ecfd0dd6d93c12daaef5 (diff)
Remove terminal usage from `runsc spec`
Most usages of `runsc spec`+`runsc run` do not expect stdios to be a terminal. Updates #6619 PiperOrigin-RevId: 398288237
Diffstat (limited to 'runsc/cmd/spec.go')
-rw-r--r--runsc/cmd/spec.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/runsc/cmd/spec.go b/runsc/cmd/spec.go
index 55194e641..3a7f2a2c4 100644
--- a/runsc/cmd/spec.go
+++ b/runsc/cmd/spec.go
@@ -30,7 +30,6 @@ func writeSpec(w io.Writer, cwd string, netns string, args []string) error {
spec := &specs.Spec{
Version: "1.0.0",
Process: &specs.Process{
- Terminal: true,
User: specs.User{
UID: 0,
GID: 0,