Merge pull request #134 from jeffgarrett/pid-selection

Interpret command line PIDs as PIDs, not TIDs
This commit is contained in:
Hisham Muhammad 2015-08-20 01:20:21 -03:00
commit ea18a50091
1 changed files with 1 additions and 1 deletions

View File

@ -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) {