mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #14906 from devananda/fix-shell-for-junos
Send empty command before recv
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user