diff --git a/Fix-UpdateLocalHosts.ps1 b/Fix-UpdateLocalHosts.ps1 index 4a99be0..13a466a 100644 --- a/Fix-UpdateLocalHosts.ps1 +++ b/Fix-UpdateLocalHosts.ps1 @@ -1,7 +1,7 @@ $DNSHelper = $Global:ToolsDirectory + '\ekdns.exe' If ( !(Test-Path $DNSHelper) ) { $DNSHelperURL = 'https://www.emberkom.com/tools/ekdns-x64.exe' - If !(Test-Path ${Env:ProgramFiles(x86)}) { + If (!(Test-Path ${Env:ProgramFiles(x86)})) { $DNSHelperURL = 'https://www.emberkom.com/tools/ekdns-x86.exe' } Download-File -URL $DNSHelperURL -File $DNSHelper