Terminal: ignore sshd

This commit is contained in:
李通洲
2024-01-26 09:53:12 +08:00
parent 0282b884cc
commit 999f2170fe
@@ -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")
)
{