Remove lsblk default columns (#2697)

This commit is contained in:
codefiles 2024-09-23 19:57:45 -04:00 committed by GitHub
parent ff3b44e191
commit 8e9b1bc727
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1425,7 +1425,7 @@ def _fetch_lsblk_info(
full_dev_path: bool = False
) -> List[LsblkInfo]:
fields = [_clean_field(f, CleanType.Lsblk) for f in LsblkInfo.fields()]
cmd = ['lsblk', '--json', '--bytes', '--output', '+' + ','.join(fields)]
cmd = ['lsblk', '--json', '--bytes', '--output', ','.join(fields)]
if reverse:
cmd.append('--inverse')