diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-29 22:15:05 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-29 22:15:05 +0900 |
| commit | 08eeafe8174efed2414d66788a927168efeba691 (patch) | |
| tree | 966ab2b3abec177ee3eaeac777b4b636a32261df /container/path.go | |
| parent | d7c7c69a13868546c26c3e5096fca09304a6e182 (diff) | |
container/mount: unwrap vfs decoder errors
These are now handled by init. This eliminates generic WrapErr from mount and procPaths.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/path.go')
| -rw-r--r-- | container/path.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/container/path.go b/container/path.go index 4a436abf..fca32c66 100644 --- a/container/path.go +++ b/container/path.go @@ -152,8 +152,7 @@ func (p *procPaths) mountinfo(f func(d *vfs.MountInfoDecoder) error) error { if err = r.Close(); err != nil { return err } else if err = d.Err(); err != nil { - return wrapErrSuffix(err, - "cannot parse mountinfo:") + return err } return err0 } |
