diff --git a/mount/mount_windows.go b/mount/mount_windows.go index a0ee0543e..fd4a2a60a 100644 --- a/mount/mount_windows.go +++ b/mount/mount_windows.go @@ -144,7 +144,7 @@ func Unmount(mount string, flags int) error { } if err := bindfilter.RemoveFileBinding(mount); err != nil { - if errno, ok := errors.Unwrap(err).(syscall.Errno); ok && errno == windows.ERROR_INVALID_PARAMETER { + if errno, ok := errors.Unwrap(err).(syscall.Errno); ok && errno == windows.ERROR_INVALID_PARAMETER || errno == windows.ERROR_NOT_FOUND { // not a mount point return nil }