make exiting from prompts consistant

This commit is contained in:
Chuck SmileyRekiere
2020-09-24 09:30:34 -06:00
parent 5f338993b6
commit c42a3c7f9d

View File

@@ -993,8 +993,8 @@ def main():
if i == 2: if i == 2:
logg.info("WLC(config)# prompt received will send end and exit") logg.info("WLC(config)# prompt received will send end and exit")
try: try:
egg.sendline("end") #egg.sendline("end")
sleep(1) #sleep(1)
egg.sendline("exit") egg.sendline("exit")
sleep(1) sleep(1)
except: except: