From f882042994c2746b142446bb050216c7b53f41ef Mon Sep 17 00:00:00 2001 From: Wojciech Zygmunt Porczyk Date: Fri, 16 May 2014 19:16:16 +0200 Subject: [PATCH] settings.py: launch lspci by full path (/usr/sbin/lspci) --- qubesmanager/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index c872b5f..b3b2ee3 100755 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -636,7 +636,7 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog): self.devices_layout.addWidget(self.dev_list) devs = [] - lspci = subprocess.Popen(["lspci",], stdout = subprocess.PIPE) + lspci = subprocess.Popen(["/usr/sbin/lspci",], stdout = subprocess.PIPE) for dev in lspci.stdout: devs.append( (dev.rstrip(), dev.split(' ')[0]) )