Support the creation of top-level folders on Windows (fixes #1822)
This commit is contained in:
@@ -1611,7 +1611,7 @@ func (m *Model) CheckFolderHealth(id string) error {
|
||||
} else if os.IsNotExist(err) {
|
||||
// If we don't have any files in the index, and the directory
|
||||
// doesn't exist, try creating it.
|
||||
err = os.MkdirAll(folder.Path(), 0700)
|
||||
err = osutil.MkdirAll(folder.Path(), 0700)
|
||||
if err == nil {
|
||||
err = folder.CreateMarker()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user