Skip to content
Snippets Groups Projects
Commit fde22723 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Run Update-ServiceBinaries if necessary.

Refers to #28
parent 1f01854b
No related branches found
No related tags found
No related merge requests found
...@@ -620,10 +620,16 @@ if ($ConfigShouldBeUpdated) { ...@@ -620,10 +620,16 @@ if ($ConfigShouldBeUpdated) {
$UpdSummary += "The configuration files were updated.`n" $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 Exit
$ServiceUpdated = Update-ServiceBinaries
if ($msg -ne "") { if ($msg -ne "") {
if ($ServiceRunningBefore) { if ($ServiceRunningBefore) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment