mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	make exiting from prompts consistant
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user