Skip to content

Commit

Permalink
misc: small fix or general refactoring i did not bother commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Aug 31, 2022
1 parent c175fab commit b32ffc7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ fn enable_inspection_port(pid: u32) -> Result<u16, Error> {
.map_err(|e| format!("could not find enumerate process open ports: {:?}", e))?;

if let Some(port) = find_inspection_port(&ports_before) {
println!("inspection already enabled on port {}", port);
return Ok(port);
}

Expand Down

0 comments on commit b32ffc7

Please sign in to comment.