Skip to content

Commit

Permalink
Always log the serial number
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavidmackenzie committed Dec 16, 2024
1 parent 3ca817e commit 3e5acc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/piglet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ async fn run_service(

#[cfg(any(feature = "iroh", feature = "tcp"))]
let desc = hw.description()?;
println!("Serial Number: {}", desc.details.serial);

// Then listen for remote connections and "serve" them
#[cfg(all(feature = "tcp", not(feature = "iroh")))]
Expand Down

0 comments on commit 3e5acc0

Please sign in to comment.