Main: Log when secret file has been written
This commit is contained in:
parent
8de12c45cf
commit
d818edaee5
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ fn main() -> Result<()> {
|
||||||
fs::write(&output_path, output)
|
fs::write(&output_path, output)
|
||||||
.expect(format!("To be able to write to '{}'", output_path.to_string_lossy()).as_str());
|
.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])?;
|
sd_notify::notify(true, &[NotifyState::Ready])?;
|
||||||
|
|
||||||
if idle {
|
if idle {
|
||||||
|
|
Loading…
Reference in a new issue