diff --git a/Updater/Update-Service.ps1 b/Updater/Update-Service.ps1 index c2fa3f08a05adb37e4b60fab9ff60b861ae86e0c..13fc554bad594c2e11201d5d6b0eee689323d370 100644 --- a/Updater/Update-Service.ps1 +++ b/Updater/Update-Service.ps1 @@ -620,10 +620,16 @@ if ($ConfigShouldBeUpdated) { $UpdSummary += "The configuration files were updated.`n" } +if ($ServiceShouldBeUpdated) { + $ServiceUpdated = Update-ServiceBinaries + if (-Not $ServiceUpdated) { + Log-Error "Updating the service binaries failed, $($Me) terminating!" + Exit + } +} Exit -$ServiceUpdated = Update-ServiceBinaries if ($msg -ne "") { if ($ServiceRunningBefore) {