Main: Log when secret file has been written

This commit is contained in:
networkException 2024-09-12 03:37:45 +02:00
parent 8de12c45cf
commit d818edaee5
Signed by: networkException
GPG key ID: E3877443AE684391

View file

@ -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 {