Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
goodhoko committed Sep 15, 2024
1 parent d65ee49 commit 660f665
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/ptrace_probe/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ fn main() -> Result<()> {
ptrace::attach(pid)?;
waitpid(Some(pid), None)?;
loop {
let Some(event) = handle_syscall(pid)? else { continue; };
let Some(event) = handle_syscall(pid)? else {
continue;
};
let packet = Packet::from_event(event);
if let Err(err) = client.send(&packet) {
eprintln!("Could not send event {:?}", err)
Expand Down

0 comments on commit 660f665

Please sign in to comment.