Skip to content

Commit

Permalink
account for extraneous preboot volume stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
chilcote committed Oct 3, 2017
1 parent 4462882 commit fb04985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgroot/usr/local/vfuse/vfuse
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def mount_dmg(dmg, disk_id=False):
ignored_vols = ('Preboot', 'Recovery', 'VM')
for i in d['system-entities']:
if i.get('mount-point', None):
if i['mount-point'].split('/')[-1] not in ignored_vols:
if i['mount-point'].split('/')[-1].split()[0] not in ignored_vols:
mount_point = i['mount-point']
volume_kind = i['volume-kind']
mountpoint_dev_entry = i['dev-entry']
Expand Down

0 comments on commit fb04985

Please sign in to comment.