1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix os.MkdirAll in native driver

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2015-05-07 12:09:30 -07:00
parent 443437f5ea
commit 390f3c99d3

View file

@ -47,7 +47,7 @@ func NewDriver(root, initPath string, options []string) (*driver, error) {
return nil, err
}
if err := os.MkdirAll(root, 0700); err != nil {
if err := sysinfo.MkdirAll(root, 0700); err != nil {
return nil, err
}
// native driver root is at docker_root/execdriver/native. Put apparmor at docker_root