From: Ian Jackson Date: Mon, 7 Jun 2021 13:53:14 +0000 (+0100) Subject: ssh keys update: Log when we find the hardlink situation X-Git-Tag: otter-0.7.0~45 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c980d877a23454fcff4a4caae89838da92acf28b;p=otter.git ssh keys update: Log when we find the hardlink situation Signed-off-by: Ian Jackson --- diff --git a/src/sshkeys.rs b/src/sshkeys.rs index ab4fd3fb..b0dc191a 100644 --- 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(()); } }