Ver código fonte

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

Wojciech Zygmunt Porczyk 10 anos atrás
pai
commit
f882042994
1 arquivos alterados com 1 adições e 1 exclusões
  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]) )