pkg/idtools: don't use system.MkdirAll() where not needed
On unix, it's an alias for os.MkdirAll, so remove its use to be more transparent what's being used. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
2e74e307d0
commit
8d5b17e939
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func mkdirAs(path string, mode os.FileMode, owner Identity, mkAll, chownExisting
|
|||
paths = append(paths, dirPath)
|
||||
}
|
||||
}
|
||||
if err := system.MkdirAll(path, mode); err != nil {
|
||||
if err := os.MkdirAll(path, mode); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue