From c980d877a23454fcff4a4caae89838da92acf28b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Jun 2021 14:53:14 +0100 Subject: [PATCH] ssh keys update: Log when we find the hardlink situation 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 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(()); } } -- 2.30.2