prompt: fix btrfs pool name shortening

This commit is contained in:
Martin Sekera 2019-03-24 00:37:14 +01:00
parent 12f9dd4cf4
commit e90e1a027e

View file

@ -625,8 +625,6 @@ class StatsPart(Part):
continue
btrfs_encountered_devices.add(device)
if device in device_to_label: short_name = " "+device_to_label[device][0]
btrfs_raw = command(["/sbin/btrfs", "fi", "usage", "-b", dir])
for line in btrfs_raw.split("\n"):