Skip to content

Commit

Permalink
Fixes equality
Browse files Browse the repository at this point in the history
  • Loading branch information
earljon committed Aug 17, 2021
1 parent 4e4af16 commit a20cb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker/disable-windows-defender.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$DefenderInstalled = Get-Command -Module Defender
if($DefenderInstalled -ne $null) {
if($null -ne $DefenderInstalled) {
Set-MpPreference -DisableRealtimeMonitoring $true
}

0 comments on commit a20cb2b

Please sign in to comment.