From 8ad65912be0ad243168bfcde1dd4f0c67078e18b Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 1 Aug 2024 12:31:25 +0200 Subject: [PATCH] Fix syntax error --- scripts/Windows/Scripts/Update.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } }