Commit ea18a500 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Merge pull request #134 from jeffgarrett/pid-selection

Interpret command line PIDs as PIDs, not TIDs
parents c9cab824 ab0bceb5
......@@ -273,7 +273,7 @@ void ProcessList_rebuildPanel(ProcessList* this) {
if ( (!p->show)
|| (this->userId != (uid_t) -1 && (p->st_uid != this->userId))
|| (incFilter && !(String_contains_i(p->comm, incFilter)))
|| (this->pidWhiteList && !Hashtable_get(this->pidWhiteList, p->pid)) )
|| (this->pidWhiteList && !Hashtable_get(this->pidWhiteList, p->tgid)) )
hidden = true;
if (!hidden) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment