mirror of https://github.com/xzeldon/htop.git
Interpret command line PIDs as PIDs, not TIDs
This commit is contained in:
parent
0e8a02367e
commit
ab0bceb550
|
@ -1074,7 +1074,7 @@ void ProcessList_rebuildPanel(ProcessList* this, bool flags, int following, bool
|
||||||
if ( (!p->show)
|
if ( (!p->show)
|
||||||
|| (userOnly && (p->st_uid != userId))
|
|| (userOnly && (p->st_uid != userId))
|
||||||
|| (incFilter && !(String_contains_i(p->comm, incFilter)))
|
|| (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;
|
hidden = true;
|
||||||
|
|
||||||
if (!hidden) {
|
if (!hidden) {
|
||||||
|
|
Loading…
Reference in New Issue