samuelcampos / usbdrivedetector

A Java library to get a list of all usb storage devices connected to the computer.
MIT License
128 stars 46 forks source link

Limit "invalid root file" error propagation on win #18

Closed SnowyCoder closed 6 years ago

SnowyCoder commented 6 years ago

Sometimes the wmic command returns invalid roots. This commit ignores these roots (instead of crashing) as they are "false allarms" and can safely be ignored.

samuelcampos commented 6 years ago

Thank you for your contribution!