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:
@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user