logging: fix Gpu info (#8764)
This commit is contained in:
parent
df06cb4d71
commit
23e7d8f6a7
3 changed files with 3 additions and 3 deletions
|
|
@ -608,7 +608,7 @@ void logSystemInfo() {
|
|||
}
|
||||
} catch (...) { GPUINFO = "error"; }
|
||||
#else
|
||||
const std::string GPUINFO = execAndGet("lspci -vnn | grep -E (VGA|Display|3D)");
|
||||
const std::string GPUINFO = execAndGet("lspci -vnn | grep -E '(VGA|Display|3D)'");
|
||||
#endif
|
||||
Debug::log(LOG, "GPU information:\n{}\n", GPUINFO);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue