update lsof to print name properly

This commit is contained in:
Andrew Case
2018-11-08 00:19:17 +00:00
committed by ikelos
parent 98e472e211
commit af496d4741
+1 -1
View File
@@ -26,7 +26,7 @@ class Lsof(plugins.PluginInterface):
def _generator(self, tasks):
for task in tasks:
name = str(task.comm)
name = utility.array_to_string(task.comm)
pid = int(task.pid)
for fd_num, _, full_path in linux.LinuxUtilities.files_descriptors_for_process(self.config, self.context, task):