prompt: fix btrfs pool name shortening
This commit is contained in:
parent
12f9dd4cf4
commit
e90e1a027e
1 changed files with 0 additions and 2 deletions
|
@ -625,8 +625,6 @@ class StatsPart(Part):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
btrfs_encountered_devices.add(device)
|
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])
|
btrfs_raw = command(["/sbin/btrfs", "fi", "usage", "-b", dir])
|
||||||
|
|
||||||
for line in btrfs_raw.split("\n"):
|
for line in btrfs_raw.split("\n"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue