chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdd9b6
)
sshkeys: Fix newline insertion
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 2 Jun 2021 16:40:54 +0000
(17:40 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 2 Jun 2021 17:37:21 +0000
(18:37 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/sshkeys.rs
patch
|
blob
|
history
diff --git
a/src/sshkeys.rs
b/src/sshkeys.rs
index 77a14b8e22928c1c81b453fdcf9eac2d6dc03d7c..d92840d396798aa2eed4027d668a64efbdd1a2b1 100644
(file)
--- a/
src/sshkeys.rs
+++ b/
src/sshkeys.rs
@@
-513,7
+513,7
@@
impl Global {
.context("open static auth keys")),
} {
io::copy(&mut sf, &mut f).context("copy data into new auth keys")?;
- writeln!(
s
f).context("write newline into new auth keys")?;
+ writeln!(f).context("write newline into new auth keys")?;
}
let mut f = BufWriter::new(f);