logging: fix Gpu info (#8764)

This commit is contained in:
Kamikadze
2024-12-19 04:08:57 +05:00
committed by GitHub
parent df06cb4d71
commit 23e7d8f6a7
3 changed files with 3 additions and 3 deletions

View File

@@ -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);