9800 exit if timed out looking for initial prompt

This commit is contained in:
Chuck SmileyRekiere
2020-09-24 08:56:03 -06:00
parent 629d396642
commit 5f338993b6

View File

@@ -597,9 +597,11 @@ def main():
if loop_count >= 3: if loop_count >= 3:
if found_escape == True: if found_escape == True:
logg.info("9800 there may be another prompt present that not aware of") logg.info("9800 there may be another prompt present that not aware of")
logg.info("9800 the excape was found see if we can send command") logg.info("9800 the excape was found... exiting")
exit(1)
else: else:
logg.info("9800 did not find the initial escape will try the command anyway") logg.info("9800 did not find the initial escape... exiting")
exit(1)
# 3504 series # 3504 series
else: else: