From: Peter Mikus Date: Wed, 25 Apr 2018 06:36:52 +0000 (+0200) Subject: FIX: SSH socket reading error X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=d1d8f2b387d3fd625ac98bc5bc37ff344b98ead8;hp=d1d8f2b387d3fd625ac98bc5bc37ff344b98ead8 FIX: SSH socket reading error 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 ---