From: Ian Jackson Date: Wed, 2 Jun 2021 14:24:43 +0000 (+0100) Subject: sshkeys: Fix auth key header newline X-Git-Tag: otter-0.7.0~105 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=aef35ce4e481d191c2a87baf40825729ff564f3b;p=otter.git sshkeys: Fix auth key header newline Signed-off-by: Ian Jackson --- 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);