From 9828494714e4d80b3b9642ca4a200ae1e7aa147c Mon Sep 17 00:00:00 2001 From: Carlos Cabanero Date: Mon, 5 Feb 2024 08:32:48 -0500 Subject: [PATCH] Mosh static test on regular bootstrap We consider the remote route as valid from our side and avoid specifying the flag all the time. --- Blink/Commands/mosh/mosh.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blink/Commands/mosh/mosh.swift b/Blink/Commands/mosh/mosh.swift index 361a97945..a2656a9d0 100644 --- a/Blink/Commands/mosh/mosh.swift +++ b/Blink/Commands/mosh/mosh.swift @@ -184,7 +184,7 @@ enum MoshError: Error, LocalizedError { sequence = [UseMoshOnPath.staticMosh(), InstallStaticMosh(onCancel: { [weak self] in self?.kill() }, logger: self.logger)] } else { - sequence = [UseMoshOnPath(path: moshClientParams.server)] + sequence = [UseMoshOnPath.staticMosh(), UseMoshOnPath(path: moshClientParams.server)] } let pty: SSH.SSHClient.PTY?