From 5a50be493b7494b72eb58c228bc1eeffc54636e8 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 7 Nov 2024 17:33:36 +0100 Subject: [PATCH] fix lshw json --- workbench-script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench-script.py b/workbench-script.py index 537175a..429cfc7 100644 --- a/workbench-script.py +++ b/workbench-script.py @@ -262,7 +262,7 @@ def smartctl(all_disks, disk=None): # TODO permitir selección # TODO permitir que vaya más rápido def get_data(all_disks): - lshw = 'sudo lshw -json' + lshw = 'sudo lshw -xml' hwinfo = 'sudo hwinfo --reallyall' dmidecode = 'sudo dmidecode' lspci = 'sudo lspci -vv'