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) {
$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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment