X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fssh.py;h=7368c6980a06dd2a2482e3adfd3283fd55282ef3;hb=refs%2Fchanges%2F92%2F13992%2F2;hp=7518cabcc3ce7123c8f9f28968d20b742c2cc2dd;hpb=3ead402fb624ac250aa48728b4c5ff0506633189;p=csit.git diff --git a/resources/libraries/python/ssh.py b/resources/libraries/python/ssh.py index 7518cabcc3..7368c6980a 100644 --- a/resources/libraries/python/ssh.py +++ b/resources/libraries/python/ssh.py @@ -264,7 +264,7 @@ class SSH(object): chan.set_combine_stderr(True) buf = '' - while not buf.endswith((":~$ ", "~]$ ", "~]# ")): + while not buf.endswith((":~# ", ":~$ ", "~]$ ", "~]# ")): try: chunk = chan.recv(self.__MAX_RECV_BUF) if not chunk: