mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
Revert "M #-: Fix stdin processing in SshStreamCommand (#1043)"
This reverts commit 02736a1d85.
This commit is contained in:
1 file changed
+1
-5
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user