Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/vendor/src/github.com/docker/libcontainer/process_linux.go b/vendor/src/github.com/docker/libcontainer/process_linux.go
index 1c74b65..fc9a733 100644
--- a/vendor/src/github.com/docker/libcontainer/process_linux.go
+++ b/vendor/src/github.com/docker/libcontainer/process_linux.go
@@ -127,12 +127,13 @@ func (p *setnsProcess) terminate() error {
}
func (p *setnsProcess) wait() (*os.ProcessState, error) {
- err := p.cmd.Wait()
- if err != nil {
- return p.cmd.ProcessState, err
- }
+ //err := p.cmd.Wait()
+ //if err != nil {
+ // return p.cmd.ProcessState, err
+ //}
- return p.cmd.ProcessState, nil
+ //return p.cmd.ProcessState, nil
+ return p.cmd.Process.Wait()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.