From 2be4e15a0a52a324218ced18572bcc596fff10cb Mon Sep 17 00:00:00 2001 From: Trond Hindenes Date: Thu, 23 Jun 2016 08:45:29 +0200 Subject: [PATCH] bugfix code error in win_firewall --- windows/win_firewall_rule.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win_firewall_rule.ps1 b/windows/win_firewall_rule.ps1 index ae60bcc4aa3..31aa2741cdb 100644 --- a/windows/win_firewall_rule.ps1 +++ b/windows/win_firewall_rule.ps1 @@ -230,7 +230,7 @@ $fwsettings.Add("Rule Name", $name) #$fwsettings.Add("displayname", $name) $state = $state.ToString().ToLower() -If ($state -eq "present")){ +If ($state -eq "present"){ $fwsettings.Add("Direction", $direction) $fwsettings.Add("Action", $action) };