mirror of
https://github.com/opencontainers/runc.git
synced 2026-04-22 23:17:17 +08:00
vendor: bump mountinfo v0.3.1
It contains some breaking changes, so fix the code. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -813,7 +813,7 @@ func msMoveRoot(rootfs string) error {
|
||||
skip = false
|
||||
stop = false
|
||||
// Collect every sysfs and proc file systems, except those under the container rootfs
|
||||
if (info.Fstype != "proc" && info.Fstype != "sysfs") || strings.HasPrefix(info.Mountpoint, rootfs) {
|
||||
if (info.FSType != "proc" && info.FSType != "sysfs") || strings.HasPrefix(info.Mountpoint, rootfs) {
|
||||
skip = true
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user