From aef35ce4e481d191c2a87baf40825729ff564f3b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 2 Jun 2021 15:24:43 +0100 Subject: [PATCH] sshkeys: Fix auth key header newline Signed-off-by: Ian Jackson --- src/sshkeys.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sshkeys.rs b/src/sshkeys.rs index f56d2216..77a14b8e 100644 --- a/src/sshkeys.rs +++ b/src/sshkeys.rs @@ -513,6 +513,7 @@ impl Global { .context("open static auth keys")), } { io::copy(&mut sf, &mut f).context("copy data into new auth keys")?; + writeln!(sf).context("write newline into new auth keys")?; } let mut f = BufWriter::new(f); -- 2.30.2