os.MkdirAll the containerd root dir
Signed-off-by: Ed King <ed@teddyking.co.uk>
This commit is contained in:
parent
d7bea77cc3
commit
89607a10db
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ func main() {
|
|||
switch runtime {
|
||||
case "shim":
|
||||
root := filepath.Join(context.GlobalString("root"), "shim")
|
||||
err = os.Mkdir(root, 0700)
|
||||
err = os.MkdirAll(root, 0700)
|
||||
if err != nil && !os.IsExist(err) {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue