Merge pull request #560 from chenchun/fix_valid_dest
It's /proc/stat, not /proc/stats
This commit is contained in:
commit
e898a30e34
libcontainer
|
@ -308,7 +308,8 @@ func checkMountDestination(rootfs, dest string) error {
|
|||
"/proc/cpuinfo",
|
||||
"/proc/diskstats",
|
||||
"/proc/meminfo",
|
||||
"/proc/stats",
|
||||
"/proc/stat",
|
||||
"/proc/net/dev",
|
||||
}
|
||||
for _, valid := range validDestinations {
|
||||
path, err := filepath.Rel(filepath.Join(rootfs, valid), dest)
|
||||
|
|
Loading…
Reference in New Issue