Skip to content

Commit 688d9b0

Browse files
committed
Shell (Linux): don't detect hyfetch as shell
1 parent c2fe2f7 commit 688d9b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/detection/terminalshell/terminalshell_linux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ static pid_t getShellInfo(FFShellResult* result, pid_t pid)
243243
ffStrEquals(name, "perf") ||
244244
ffStrEquals(name, "guake-wrapped") ||
245245
ffStrEquals(name, "time") ||
246+
ffStrEquals(name, "hyfetch") || //when hyfetch uses fastfetch as backend
246247
ffStrContainsIgnCase(name, "debug") ||
247248
ffStrContainsIgnCase(name, "not-found") ||
248249
ffStrEndsWith(name, ".sh")

0 commit comments

Comments
 (0)