From 3c972aad3c2849d23dbcb2e5013f0dafac8ff3e9 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Fri, 16 Oct 2020 21:45:04 -0600 Subject: [PATCH] cisco_wifi_ctl.py : bug fix for 3504 save config --- cisco_wifi_ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cisco_wifi_ctl.py b/cisco_wifi_ctl.py index f744dcd3..df57a5d0 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -1178,7 +1178,7 @@ def main(): egg.sendline("logout") logg.info("logout") i = egg.expect([LOGOUTPROMPT, EXITPROMPT, CLOSEDBYREMOTE, CLOSEDCX,pexpect.TIMEOUT],timeout=3) - if i == 0: + if i == 1: egg.sendline("y")