This patch is just a simple fix the issue by verifying the return string of the command lspci.
The proper fix would probably involve checking correctly the output from command_output, but then depends on how do you want to display the error when it happens.
This patch is just a simple fix the issue by verifying the return string of the command lspci.
The proper fix would probably involve checking correctly the output from command_output, but then depends on how do you want to display the error when it happens.