feat: update procfs
This commit is contained in:
@@ -48,7 +48,7 @@ pub fn get_process(port: u16) -> Option<Process> {
|
|||||||
return Some(Process {
|
return Some(Process {
|
||||||
pid: stat.pid,
|
pid: stat.pid,
|
||||||
comm: stat.comm,
|
comm: stat.comm,
|
||||||
exec: exec.clone,
|
exec: exec.clone(),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
rust_util::warning!("Cannot get process by port: {}, inode: {}", port, entry.inode);
|
rust_util::warning!("Cannot get process by port: {}, inode: {}", port, entry.inode);
|
||||||
|
|||||||
Reference in New Issue
Block a user