Skip to content

Commit

Permalink
Merge pull request moby#32668 from darrenstahlmsft/CleanupEmpty
Browse files Browse the repository at this point in the history
Windows: Do not clean empty windowsfilter folder
  • Loading branch information
vdemeester authored Apr 20, 2017
2 parents 7936a96 + 5e4e357 commit b8e9250
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions daemon/graphdriver/windows/windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,9 @@ func (d *Driver) Cleanup() error {

items, err := ioutil.ReadDir(d.info.HomeDir)
if err != nil {
if os.IsNotExist(err) {
return nil
}
return err
}

Expand Down

0 comments on commit b8e9250

Please sign in to comment.