Terminal (Linux): ignore SessionLeader

I don't know why it's there, but let's ignore it for now
This commit is contained in:
李通洲
2024-03-07 22:38:03 +08:00
parent 4a7e60ef57
commit 2a125e226b
@@ -231,6 +231,7 @@ static pid_t getShellInfo(FFShellResult* result, pid_t pid)
ffStrEquals(name, "ltrace") ||
ffStrEquals(name, "perf") ||
ffStrEquals(name, "guake-wrapped") ||
ffStrEquals(name, "SessionLeader") || // #750
ffStrContainsIgnCase(name, "debug") ||
ffStrContainsIgnCase(name, "not-found") ||
ffStrEndsWith(name, ".sh")