Merge pull request #560 from chenchun/fix_valid_dest

It's /proc/stat, not /proc/stats
This commit is contained in:
Mrunal Patel
2016-02-16 17:44:14 +05:30
+2 -1
View File
@@ -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)