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

Merge pull request #32668 from darrenstahlmsft/CleanupEmpty

Windows: Do not clean empty windowsfilter folder
This commit is contained in:
Vincent Demeester 2017-04-20 14:55:45 +02:00 committed by GitHub
commit b8e9250b59

View file

@ -427,6 +427,9 @@ func (d *Driver) Cleanup() error {
items, err := ioutil.ReadDir(d.info.HomeDir) items, err := ioutil.ReadDir(d.info.HomeDir)
if err != nil { if err != nil {
if os.IsNotExist(err) {
return nil
}
return err return err
} }