Skip to content

Commit

Permalink
Extend comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Nov 12, 2024
1 parent c20303b commit 196d18a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/global/trampoline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 196d18a

Please sign in to comment.