diff --git a/mount/mount_windows.go b/mount/mount_windows.go index 855d78c02..7c24fa600 100644 --- a/mount/mount_windows.go +++ b/mount/mount_windows.go @@ -177,6 +177,9 @@ func UnmountAll(mount string, flags int) error { // This isn't an error, per the EINVAL handling in the Linux version return nil } + if _, err := os.Stat(mount); os.IsNotExist(err) { + return nil + } return Unmount(mount, flags) }