Fix os.MkdirAll in native driver

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 390f3c99d3a6fd5e9802a675a7c1618d40e3af26
Component: engine
This commit is contained in:
John Howard
2015-05-07 12:09:30 -07:00
parent 6284ff4960
commit 91089ecbb8

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