fix: bridge always restarst even when an error updating occurred

This commit is contained in:
James Houlahan
2020-12-31 10:47:43 +01:00
parent dc3b4d53e1
commit 4a54f878c4
2 changed files with 4 additions and 4 deletions

View File

@ -652,8 +652,8 @@ func (s *FrontendQt) startManualUpdate() {
if err != nil {
logrus.WithError(err).Error("An error occurred while installing updates manually")
s.Qml.NotifyManualUpdateError()
} else {
s.Qml.NotifyManualUpdateRestartNeeded()
}
s.Qml.NotifyManualUpdateRestartNeeded()
}()
}