Skip to content

Commit

Permalink
Fixup last PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dbwiddis committed Feb 13, 2020
1 parent 05056e7 commit 5cadbd0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public HWDiskStore[] getDisks() {
String devnode = Udev.INSTANCE.udev_device_get_devnode(device);
if (devnode == null) {
LOG.warn("Failed to retrieve devnode for device {}", Pointer.nativeValue(device.getPointer()));
continue;
}
// Ignore loopback and ram disks; do nothing
if (!devnode.startsWith("/dev/loop") && !devnode.startsWith("/dev/ram")) {
Expand Down

0 comments on commit 5cadbd0

Please sign in to comment.