summaryrefslogtreecommitdiff
path: root/src/helpers/MiscFunctions.cpp
diff options
context:
space:
mode:
authorKamikadze <40305144+Kam1k4dze@users.noreply.github.com>2024-12-19 04:08:57 +0500
committerGitHub <noreply@github.com>2024-12-19 00:08:57 +0100
commit23e7d8f6a7d4e25c2dc6be33af07249570e66940 (patch)
tree35384f3832f00abe79cdd943db938fd4dd45e659 /src/helpers/MiscFunctions.cpp
parentdf06cb4d71a291171c02467c384471f90832d23b (diff)
logging: fix Gpu info (#8764)
Diffstat (limited to 'src/helpers/MiscFunctions.cpp')
-rw-r--r--src/helpers/MiscFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp
index b29ad6aa..e970b781 100644
--- a/src/helpers/MiscFunctions.cpp
+++ b/src/helpers/MiscFunctions.cpp
@@ -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);