diff options
author | Kevin Krakauer <krakauer@google.com> | 2018-06-15 14:07:00 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-15 14:07:54 -0700 |
commit | 437890dc4b6987a64ac98766c752ce64091757dc (patch) | |
tree | 1fff3ca8748fad6a893e4347f8e0ada263f2ced0 | |
parent | 2081c5e7f73eadb2ec84640d4b03f4eb1881950e (diff) |
runsc: Make gofer logs show up in test output.
PiperOrigin-RevId: 200770591
Change-Id: Ifc096d88615b63135210d93c2b4cee2eaecf1eee
-rw-r--r-- | runsc/sandbox/sandbox.go | 2 |
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 |