From d818edaee598927c236d79b962db70de4c2c2f0c Mon Sep 17 00:00:00 2001 From: networkException Date: Thu, 12 Sep 2024 03:37:45 +0200 Subject: [PATCH] Main: Log when secret file has been written --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index dd50f33..70e46f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -99,6 +99,8 @@ fn main() -> Result<()> { fs::write(&output_path, output) .expect(format!("To be able to write to '{}'", output_path.to_string_lossy()).as_str()); + println!("Wrote secret file to '{}'", output_path.to_string_lossy()); + sd_notify::notify(true, &[NotifyState::Ready])?; if idle {