mirror of
https://github.com/containers/podman.git
synced 2025-10-31 01:50:50 +08:00
vendor c/psgo@v1.7.1
psgo added support for listing supplementary groups via two new descriptors: * `groups` for supplementary groups inside the container * `hgroups` for the counterpart on the host Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/psgo/internal/proc/status.go
generated
vendored
2
vendor/github.com/containers/psgo/internal/proc/status.go
generated
vendored
@ -182,7 +182,7 @@ func readStatusUserNS(pid string) ([]string, error) {
|
||||
c := exec.Command(args[0], args[1:]...)
|
||||
output, err := c.CombinedOutput()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error executing %q: %v", strings.Join(args, " "), err)
|
||||
return nil, fmt.Errorf("error executing %q: %w", strings.Join(args, " "), err)
|
||||
}
|
||||
|
||||
return strings.Split(string(output), "\n"), nil
|
||||
|
||||
Reference in New Issue
Block a user