Sandro Bonazzola has uploaded a new change for review.

Change subject: HyperVisorData: reset console after collection
......................................................................

HyperVisorData: reset console after collection

ssh -t may garble the tty, so it need to be reset when
ssh calls are not needed anymore.

Change-Id: Id3e65b5564eb34e72e57f824fb86f9c50acfa1c5
Bug-Url: https://bugzilla.redhat.com/1041749
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M src/__main__.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-log-collector 
refs/changes/26/23426/1

diff --git a/src/__main__.py b/src/__main__.py
index 0b20647..ceef320 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -758,6 +758,7 @@
         finally:
             if self.semaphore:
                 self.semaphore.release()
+            self.caller.call('stty sane')
 
         logging.info(
             "finished collecting information from %(hostname)s" % (


-- 
To view, visit http://gerrit.ovirt.org/23426
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id3e65b5564eb34e72e57f824fb86f9c50acfa1c5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-log-collector
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to