mirror of
https://github.com/containers/podman.git
synced 2025-11-02 14:55:28 +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/host/host.go
generated
vendored
2
vendor/github.com/containers/psgo/internal/host/host.go
generated
vendored
@ -54,7 +54,7 @@ func BootTime() (int64, error) {
|
||||
|
||||
btimeSec, err := strconv.ParseInt(btimeStr, 10, 64)
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("error parsing boot time from /proc/stat: %s", err)
|
||||
return 0, fmt.Errorf("error parsing boot time from /proc/stat: %w", err)
|
||||
}
|
||||
bootTime = &btimeSec
|
||||
return btimeSec, nil
|
||||
|
||||
Reference in New Issue
Block a user