mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.8
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
6
vendor/github.com/moby/sys/mount/unmount_unix.go
generated
vendored
6
vendor/github.com/moby/sys/mount/unmount_unix.go
generated
vendored
@ -4,8 +4,12 @@ package mount
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
func unmountBare(target string, flags int) error {
|
||||
return unix.Unmount(target, flags)
|
||||
}
|
||||
|
||||
func unmount(target string, flags int) error {
|
||||
err := unix.Unmount(target, flags)
|
||||
err := unmountBare(target, flags)
|
||||
if err == nil || err == unix.EINVAL {
|
||||
// Ignore "not mounted" error here. Note the same error
|
||||
// can be returned if flags are invalid, so this code
|
||||
|
Reference in New Issue
Block a user