From 60ff89c79464a6fc727ae9eb11828f007e1269fe Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 3 Jan 2025 10:32:04 +0800 Subject: [PATCH] Terminal (Linux): fix detection of `pk-command-not-found` Fix #1467 --- src/detection/terminalshell/terminalshell_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/terminalshell/terminalshell_linux.c b/src/detection/terminalshell/terminalshell_linux.c index 8151d79c2..b0fe08085 100644 --- a/src/detection/terminalshell/terminalshell_linux.c +++ b/src/detection/terminalshell/terminalshell_linux.c @@ -56,7 +56,7 @@ static pid_t getShellInfo(FFShellResult* result, pid_t pid) ffStrbufEqualS(&result->processName, "fastfetch") || //994 ffStrbufEqualS(&result->processName, "flashfetch") || ffStrbufContainS(&result->processName, "debug") || - ffStrbufContainS(&result->processName, "not-found") || + ffStrbufContainS(&result->processName, "command-not-") || #ifdef __ANDROID__ ffStrbufEqualS(&result->processName, "proot") || #endif