Merge pull request #1474 from mlaventure/update-gorunc

Update go-runc to b3c048c028ddd789c6f9510c597f8b9c62f25359
This commit is contained in:
Michael Crosby 2017-09-06 11:16:23 -04:00 committed by GitHub
commit bf08f7cd08
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
github.com/coreos/go-systemd 48702e0da86bd25e76cfef347e2adeb434a0d0a6
github.com/containerd/go-runc ba22f6a82e52be3be4eb4a00000fe816f4b41c2e
github.com/containerd/go-runc b3c048c028ddd789c6f9510c597f8b9c62f25359
github.com/containerd/console 76d18fd1d66972718ab2284449591db0b3cdb4de
github.com/containerd/cgroups e6d1aa8c71c6103624b2c6e6f4be0863b67027f1
github.com/docker/go-metrics 8fd5772bf1584597834c6f7961a530f06cbfbb87

View File

@ -224,7 +224,10 @@ func (r *Runc) Exec(context context.Context, id string, spec specs.Process, opts
}
}
}
_, err = Monitor.Wait(cmd, ec)
status, err := Monitor.Wait(cmd, ec)
if err == nil && status != 0 {
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
}
return err
}