summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2018-06-15 14:07:00 -0700
committerShentubot <shentubot@google.com>2018-06-15 14:07:54 -0700
commit437890dc4b6987a64ac98766c752ce64091757dc (patch)
tree1fff3ca8748fad6a893e4347f8e0ada263f2ced0 /runsc
parent2081c5e7f73eadb2ec84640d4b03f4eb1881950e (diff)
runsc: Make gofer logs show up in test output.
PiperOrigin-RevId: 200770591 Change-Id: Ifc096d88615b63135210d93c2b4cee2eaecf1eee
Diffstat (limited to 'runsc')
-rw-r--r--runsc/sandbox/sandbox.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/runsc/sandbox/sandbox.go b/runsc/sandbox/sandbox.go
index c1efab7f5..1c0d23161 100644
--- a/runsc/sandbox/sandbox.go
+++ b/runsc/sandbox/sandbox.go
@@ -209,6 +209,8 @@ func (s *Sandbox) createGoferProcess(spec *specs.Spec, conf *boot.Config, bundle
}
cmd := exec.Command(binPath, args...)
+ cmd.Stdout = os.Stdout
+ cmd.Stderr = os.Stderr
cmd.ExtraFiles = goferEnds
// Setup any uid/gid mappings, and create or join the configured user