Windows: Do not attempt to clean empty windowsfilter folder

Signed-off-by: Darren Stahl <darst@microsoft.com>
Upstream-commit: 5e4e357f6e53ed9aeb0d4988d8c780acd5da3ed5
Component: engine
This commit is contained in:
Darren Stahl
2017-04-17 11:41:07 -07:00
parent 59735a2883
commit 347c2cd583

View File

@ -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
}