mirror of https://github.com/containers/podman.git
Merge pull request #12931 from giuseppe/fix-crash-with-bazel-linux-sandbox
rootless: report correctly the error
This commit is contained in:
commit
f46478c1e9
|
@ -390,11 +390,11 @@ func becomeRootInUserNS(pausePid, fileToRead string, fileOutput *os.File) (_ boo
|
|||
return joinUserAndMountNS(uint(pid), "")
|
||||
}
|
||||
}
|
||||
return false, -1, errors.Wrapf(err, "error setting up the process")
|
||||
return false, -1, errors.New("error setting up the process")
|
||||
}
|
||||
|
||||
if b[0] != '0' {
|
||||
return false, -1, errors.Wrapf(err, "error setting up the process")
|
||||
return false, -1, errors.New("error setting up the process")
|
||||
}
|
||||
|
||||
signals := []os.Signal{}
|
||||
|
|
Loading…
Reference in New Issue