feat: update procfs
This commit is contained in:
@@ -47,7 +47,7 @@ pub fn get_process(port: u16) -> Option<Process> {
|
|||||||
if let Some((stat, exec)) = map.get(&entry.inode) {
|
if let Some((stat, exec)) = map.get(&entry.inode) {
|
||||||
return Some(Process {
|
return Some(Process {
|
||||||
pid: stat.pid,
|
pid: stat.pid,
|
||||||
comm: stat.comm,
|
comm: stat.comm.clone(),
|
||||||
exec: exec.clone(),
|
exec: exec.clone(),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user