diff --git a/libcontainer/integration/utils_test.go b/libcontainer/integration/utils_test.go index 8fb8f8663..e30630953 100644 --- a/libcontainer/integration/utils_test.go +++ b/libcontainer/integration/utils_test.go @@ -88,14 +88,10 @@ func ok(t testing.TB, err error) { func waitProcess(p *libcontainer.Process, t testing.TB) { t.Helper() - status, err := p.Wait() + _, err := p.Wait() if err != nil { t.Fatalf("unexpected error: %v", err) } - - if !status.Success() { - t.Fatalf("unexpected status: %v", status) - } } // newRootfs creates a new tmp directory and copies the busybox root