Skip to content

Commit c005bc5

Browse files
committed
TerminalShell (Linux): ignore proot
1 parent 52411f6 commit c005bc5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/detection/terminalshell/terminalshell_linux.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ static pid_t getShellInfo(FFShellResult* result, pid_t pid)
5757
ffStrbufEqualS(&result->processName, "flashfetch") ||
5858
ffStrbufContainS(&result->processName, "debug") ||
5959
ffStrbufContainS(&result->processName, "command-not-") ||
60-
#ifdef __ANDROID__
6160
ffStrbufEqualS(&result->processName, "proot") ||
62-
#endif
6361
ffStrbufEndsWithS(&result->processName, ".sh")
6462
)
6563
{
@@ -108,9 +106,7 @@ static pid_t getTerminalInfo(FFTerminalResult* result, pid_t pid)
108106
ffStrbufEqualS(&result->processName, "login") ||
109107
ffStrbufEqualS(&result->processName, "clifm") || // https://github.com/leo-arch/clifm/issues/289
110108
ffStrbufEqualS(&result->processName, "chezmoi") || // #762
111-
#ifdef __ANDROID__
112109
ffStrbufEqualS(&result->processName, "proot") ||
113-
#endif
114110
#ifdef __linux__
115111
ffStrbufStartsWithS(&result->processName, "flatpak-") || // #707
116112
#endif

0 commit comments

Comments
 (0)