mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 02:12:38 +00:00
openwrt-ctrl: Deal better with funky prompt.
This commit is contained in:
@@ -189,7 +189,11 @@ def main():
|
||||
CLOSEDBYREMOTE = "closed by remote host."
|
||||
CLOSEDCX = "Connection to .* closed."
|
||||
|
||||
egg.expect(CCPROMPT)
|
||||
try:
|
||||
egg.expect(CCPROMPT)
|
||||
except Exception as e:
|
||||
egg.sendline(NL)
|
||||
|
||||
TO=10
|
||||
wait_forever = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user