Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterDreeeam committed Mar 1, 2023
1 parent cf7dcc6 commit c125c48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agent/one-line-installer-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ if (-Not((New-Object Security.Principal.WindowsPrincipal $([Security.Principal.W
# =======================================
# Check No HydraLab Folder exists
# =======================================
Remove-Item $RootPath -Recurse
if (Test-Path -Path $RootPath)
{
throw "HydraLab folder already exists, remove it and retry"
Remove-Item $RootPath -Recurse
}
[void](New-Item -Path $RootPath -ItemType Directory)

Expand Down

0 comments on commit c125c48

Please sign in to comment.