From 3108d96ae0a91d58a9c4956260e131c57ad6f639 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:16:04 +0100 Subject: [PATCH] Update src/global/trampoline.rs --- src/global/trampoline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/trampoline.rs b/src/global/trampoline.rs index 8224aebb9..181a27a86 100644 --- a/src/global/trampoline.rs +++ b/src/global/trampoline.rs @@ -342,7 +342,7 @@ impl Trampoline { } async fn write_trampoline(&self) -> miette::Result<()> { - // We need to check whether the trampoline binary is already saved and it have the trampoline content + // We need to check that there's indeed a trampoline at the path if !self.trampoline_path().is_file() || !Trampoline::is_trampoline(&self.trampoline_path()).await? {