summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
diff options
context:
space:
mode:
authorJeff Garrett <jeff@jgarrett.org>2014-10-08 11:52:56 -0500
committerJeff Garrett <jeff@jgarrett.org>2014-10-08 11:52:56 -0500
commitab0bceb55043c8ee406713399b51a34dbc3645d0 (patch)
treee99cc5b27bd8c6ad533065f23f84790491148ca4 /ProcessList.c
parent0e8a02367ec7ca8f52b10de70938dfd07faed3ab (diff)
Interpret command line PIDs as PIDs, not TIDs
Diffstat (limited to 'ProcessList.c')
-rw-r--r--ProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessList.c b/ProcessList.c
index 7559623c..ae0150e2 100644
--- a/ProcessList.c
+++ b/ProcessList.c
@@ -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) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy