From 688d9b00ab46f9233276fd9f7b91080fdb9c0696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 2 May 2024 15:19:07 +0800 Subject: [PATCH] Shell (Linux): don't detect hyfetch as shell --- src/detection/terminalshell/terminalshell_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/terminalshell/terminalshell_linux.c b/src/detection/terminalshell/terminalshell_linux.c index a12bb0930..58c551e20 100644 --- a/src/detection/terminalshell/terminalshell_linux.c +++ b/src/detection/terminalshell/terminalshell_linux.c @@ -243,6 +243,7 @@ static pid_t getShellInfo(FFShellResult* result, pid_t pid) ffStrEquals(name, "perf") || ffStrEquals(name, "guake-wrapped") || ffStrEquals(name, "time") || + ffStrEquals(name, "hyfetch") || //when hyfetch uses fastfetch as backend ffStrContainsIgnCase(name, "debug") || ffStrContainsIgnCase(name, "not-found") || ffStrEndsWith(name, ".sh")