FIX: SSH socket reading error 95/12095/2
authorPeter Mikus <pmikus@cisco.com>
Wed, 25 Apr 2018 06:36:52 +0000 (08:36 +0200)
committerPeter Mikus <pmikus@cisco.com>
Wed, 25 Apr 2018 08:10:04 +0000 (08:10 +0000)
Currently if the command timeouts due to the nature of script execution
we are trying to again read from socket after timeout on seesion
expired. This patch is supposed to fix the behaviour and eliminate the
second read from channel after it was cloed.

Change-Id: Ib0028e901eb6ff4d10ca77d2ea19f9e770e6cef4
Signed-off-by: Peter Mikus <pmikus@cisco.com>

No differences found