Interpret command line PIDs as PIDs, not TIDs

This commit is contained in:
Jeff Garrett 2014-10-08 11:52:56 -05:00
parent 0e8a02367e
commit ab0bceb550
1 changed files with 1 additions and 1 deletions

View File

@ -1074,7 +1074,7 @@ void ProcessList_rebuildPanel(ProcessList* this, bool flags, int following, bool
if ( (!p->show)
|| (userOnly && (p->st_uid != 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) {