From 660f665399320b296c90bac5eda5422a0f6346c3 Mon Sep 17 00:00:00 2001 From: Jen Tak Date: Sun, 15 Sep 2024 23:11:12 +0200 Subject: [PATCH] Fix formatting --- crates/ptrace_probe/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ptrace_probe/src/main.rs b/crates/ptrace_probe/src/main.rs index 982dc62..3545eb9 100644 --- a/crates/ptrace_probe/src/main.rs +++ b/crates/ptrace_probe/src/main.rs @@ -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)