From 196d18aa6d683a0621f9bf21e290208a222ab221 Mon Sep 17 00:00:00 2001 From: Julian Hofer Date: Tue, 12 Nov 2024 10:36:24 +0100 Subject: [PATCH] Extend comment --- src/global/trampoline.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global/trampoline.rs b/src/global/trampoline.rs index 361460ae4..9055f324c 100644 --- a/src/global/trampoline.rs +++ b/src/global/trampoline.rs @@ -356,6 +356,7 @@ impl Trampoline { // If the path doesn't exist yet, create a hard link to the shared trampoline binary // If creating a hard link doesn't succeed, try copying + // Hard-linking might for example fail because the file-system enforces a maximum number of hard-links per file if !self.path().exists() && tokio_fs::hard_link(self.trampoline_path(), self.path()) .await