Skip to content

Commit

Permalink
Merge pull request #560 from chenchun/fix_valid_dest
Browse files Browse the repository at this point in the history
It's /proc/stat, not /proc/stats
  • Loading branch information
Mrunal Patel committed Feb 16, 2016
2 parents 361f9b7 + 2ee9cbb commit e898a30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libcontainer/rootfs_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e898a30

Please sign in to comment.