diff options
Diffstat (limited to 'wintest')
-rw-r--r-- | wintest/wintest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wintest/wintest.py b/wintest/wintest.py index 36d0659f03..1c5b087aa1 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -319,7 +319,9 @@ class wintest(): child.expect("C:") if i == 1: child.sendline('netsh firewall set opmode mode = DISABLE profile = ALL') - child.expect("Ok") + i = child.expect(["Ok", "The following command was not found"]) + if i != 0: + self.info("Firewall disable failed - ignoring") child.expect("C:") def set_dns(self, child): |