File 5107-ssh-Remove-the-extra-prompt-from-erlang-shell-in-ssh.patch of Package erlang
From 9a7e0f9e221c49d0090f303b8e29197fb8951c8d Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Thu, 3 Sep 2020 10:43:39 +0200
Subject: [PATCH 07/11] ssh: Remove the extra prompt from erlang shell in
ssh:shell
---
lib/ssh/src/ssh_shell.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ssh/src/ssh_shell.erl b/lib/ssh/src/ssh_shell.erl
index 9f5093cb3e..55ea6098c0 100644
--- a/lib/ssh/src/ssh_shell.erl
+++ b/lib/ssh/src/ssh_shell.erl
@@ -163,7 +163,7 @@ terminate(_Reason, #state{io = IoPid}) ->
%%--------------------------------------------------------------------
input_loop(Fd, Pid) ->
- case io:get_line(Fd, '>') of
+ case io:get_line(Fd, '') of
eof ->
Pid ! {input, self(), eof},
ok;
--
2.26.2