Make complementary fixes in linux/mac pslist.

Filters should take a whole process, so they could be extended to filter
more in the future.
This commit is contained in:
Mike Auty
2019-02-27 19:22:37 +00:00
parent b1c3ecfa17
commit c5e2490f40
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class PsList(interfaces_plugins.PluginInterface):
if filter_list:
def filter_func(x):
return x not in filter_list
return x.pid not in filter_list
return filter_func
else: