Revert "M #-: Fix stdin processing in SshStreamCommand (#1043)"

This reverts commit 02736a1d85.
This commit is contained in:
Ruben S. Montero committed 2021-04-12 10:58:18 +02:00
1 parent 16ff61ca03
commit ed686cfc87
1 file changed
+1 -5
+1 -5
View File
@@ -221,11 +221,7 @@ class SshStreamCommand < RemotesCommand
end
@stream.exec(command)
if stdin
@stream.stdin.write(stdin)
@stream.stdin.close
end
@stream.stdin.write(stdin) if stdin
@code = @stream.wait_for_command(@timeout)