Terminal: ignore sshd

This commit is contained in:
李通洲 committed 2024-01-26 09:53:12 +08:00
1 parent 0282b884cc
commit 999f2170fe
1 file changed
+1
@@ -284,6 +284,7 @@ static pid_t getTerminalInfo(FFTerminalResult* result, pid_t pid)
ffStrEquals(name, "oil.ovm") ||
ffStrEquals(name, "xonsh") || // works in Linux but not in macOS because kernel returns `Python` in this case
ffStrEquals(name, "login") ||
ffStrEquals(name, "sshd") ||
ffStrEndsWith(name, ".sh")
)
{