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:
9cfabcb
)
ssh keys update: Log when we find the hardlink situation
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 13:53:14 +0000
(14:53 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 13:53:14 +0000
(14:53 +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 ab4fd3fb3ec5897c9314dc6582eceade3c7c5dcd..b0dc191a7a2a668916e146396be52ead7f6eb5b6 100644
(file)
--- a/
src/sshkeys.rs
+++ b/
src/sshkeys.rs
@@
-496,6
+496,7
@@
impl Global {
let devino = |f: &File| f.metadata().map(|m| (m.dev(), m.ino()));
if devino(staticf).context("fstat static auth keys")? ==
devino(&f).context("fstat existing auth keys")? {
+ info!("auth keys files hardlinked, doing first install");
return Ok(());
}
}