Handle multiple sshds

This commit is contained in:
crschnick 2024-09-18 10:19:07 +00:00
parent fc72fa3a79
commit c18a159504

View file

@ -182,7 +182,7 @@ public class SshLocalBridge {
if (exec.isEmpty()) {
throw ErrorEvent.expected(new IllegalStateException("No sshd executable found in PATH. The SSH terminal bridge requires a local ssh server"));
}
return exec.get();
return exec.get().lines().findFirst().orElseThrow();
}
}