diff --git a/scripts/Windows/Scripts/Update.ps1 b/scripts/Windows/Scripts/Update.ps1 index fc1ba29e..da9325d9 100644 --- a/scripts/Windows/Scripts/Update.ps1 +++ b/scripts/Windows/Scripts/Update.ps1 @@ -23,10 +23,10 @@ function Update-WindowsInstallation { Write-Information "A Reboot is Required!"; Write-Information "Windows will reboot now and the installation will be continued automatically."; return; + } else { + Write-Information "Upgrading Windows finished successfully!"; + return; } - } else { - Write-Information "Upgrading Windows finished successfully!"; - return; } }