Agent: Fix a bug with output checking in firewall.py

This commit is contained in:
vakaris_zilius 2022-04-05 13:15:06 +00:00
parent 64f2d598cf
commit fe0b408c06
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def _run_netsh_cmd(command, args):
),
timeout=SHORT_REQUEST_TIMEOUT,
)
return output.strip().lower().endswith("ok.")
return output.strip().lower().endswith(b"ok.")
class FirewallApp(object):