mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-19 03:25:05 +00:00
bug fix
This commit is contained in:
@@ -327,7 +327,7 @@ def main():
|
|||||||
while logged_in_9800 == False and loop_count <= 2:
|
while logged_in_9800 == False and loop_count <= 2:
|
||||||
#egg.sendline(CR)
|
#egg.sendline(CR)
|
||||||
try:
|
try:
|
||||||
i = egg.expect_exact([">","#","ssword\:",pexpect.TIMEOUT],timeout=2)
|
i = egg.expect_exact([">","#","ssword:",pexpect.TIMEOUT],timeout=2)
|
||||||
except pexpect.EOF as e:
|
except pexpect.EOF as e:
|
||||||
print('connection failed. or refused')
|
print('connection failed. or refused')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user