Merge pull request #3841 from alexlarsson/separate-base-fs

Separate out graphdriver mount and container root
This commit is contained in:
Michael Crosby
2014-01-31 11:49:14 -08:00
5 changed files with 70 additions and 49 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func containerFileExists(eng *engine.Engine, id, dir string, t utils.Fataler) bo
t.Fatal(err)
}
defer c.Unmount()
if _, err := os.Stat(path.Join(c.RootfsPath(), dir)); err != nil {
if _, err := os.Stat(path.Join(c.BasefsPath(), dir)); err != nil {
if os.IsNotExist(err) {
return false
}