Don't close SSH command streams as MINA SSHD does it for us

The SSHD code automatically closes these during the onExit
method below.  Closing them ourselves might cause the server
to try and close the same channel twice.  Instead we issue
a flush to ensure all written data is sent to the client
before the exit.

Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed