Ensure error file can be read from

This commit is contained in:
Manuel Thalmann 2024-08-19 02:24:45 +02:00
parent f136ad35ea
commit c68b153401
2 changed files with 8 additions and 1 deletions
scripts/Common/Scripts

View file

@ -135,6 +135,7 @@ $null = New-Module {
}
catch {
Set-Content -Path $errorPath -Value $Error;
Set-UserPermissions $errorPath;
}
finally {
Set-Stage ([SetupStage]::Idle);