diff --git a/windows-rdp/main.tf b/windows-rdp/main.tf index 99de193..30f1a1e 100644 --- a/windows-rdp/main.tf +++ b/windows-rdp/main.tf @@ -100,7 +100,7 @@ resource "coder_script" "windows-rdp" { CODER_PASSWORD : var.admin_password, }" | Set-Content "$root\coder.js" # Only inject the src if we have not before. - if ($isPatched -e $null) { + if ($isPatched -eq $null) { (Get-Content $devolutionsHtml).Replace('', "$patch") | Set-Content $devolutionsHtml } }