Skip to content

Commit

Permalink
Fixed bug that was preventing firewall rules from being deleted.
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Conrad <[email protected]>
  • Loading branch information
Ryan Conrad authored and Ryan Conrad committed Jun 4, 2018
1 parent 1ec609d commit 51967f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoginMonitor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function Delete-BlockRule
}
else
{
$null = Remove-NetFirewallRule -Name $RuleName
netsh advfirewall firewall delete rule name=$RuleName dir=in
}
}

Expand Down

0 comments on commit 51967f4

Please sign in to comment.