Commit 89266849 by Ton Kersten Committed by Michael DeHaan

Fix issue 2906

parent 56e3cef6
......@@ -626,6 +626,7 @@ class LinuxHardware(Hardware):
d['host'] = m.group(1)
d['holders'] = []
if os.path.isdir(sysdir + "/holders"):
for folder in os.listdir(sysdir + "/holders"):
if not folder.startswith("dm-"):
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment