mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-26 17:51:53 -07:00
shell: don't use fgrep, prefer grep -F
This commit is contained in:
@@ -606,7 +606,7 @@ void logSystemInfo() {
|
||||
Debug::log(NONE, "\n");
|
||||
|
||||
#if defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
const std::string GPUINFO = execAndGet("pciconf -lv | fgrep -A4 vga");
|
||||
const std::string GPUINFO = execAndGet("pciconf -lv | grep -F -A4 vga");
|
||||
#elif defined(__arm__) || defined(__aarch64__)
|
||||
const std::string GPUINFO = execAndGet("cat /proc/device-tree/soc*/gpu*/compatible");
|
||||
#else
|
||||
|
Reference in New Issue
Block a user