Browse Source

settings.py: launch lspci by full path (/usr/sbin/lspci)

Wojciech Zygmunt Porczyk 10 năm trước cách đây
mục cha
commit
f882042994
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      qubesmanager/settings.py

+ 1 - 1
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]) )