mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #14906 from devananda/fix-shell-for-junos
Send empty command before recv
This commit is contained in:
commit
c55d1c55af
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ class Shell(object):
|
|||
|
||||
self.shell = self.ssh.invoke_shell()
|
||||
self.shell.settimeout(10)
|
||||
self.shell.sendall("\n")
|
||||
self.receive()
|
||||
|
||||
def strip(self, data):
|
||||
|
|
Loading…
Reference in a new issue