diff --git a/includes/ps1/lockfile.ps1 b/includes/ps1/lockfile.ps1 index 82005cf..2db8ad5 100644 --- a/includes/ps1/lockfile.ps1 +++ b/includes/ps1/lockfile.ps1 @@ -32,7 +32,6 @@ function new-lock { Write-Output "Unable to create lockfile, error: $_. Resuming lock loop." } } - if ($i -ge $timeout) { Write-Output "Timed out after $timeout attempts." exit