Update internal/ota/ota.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aveline 2025-11-20 23:19:27 +01:00 committed by GitHub
parent 61c2fa4a88
commit 208552848a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ func (s *State) doUpdate(ctx context.Context, params UpdateParams) error {
if !appUpdate.pending && !systemUpdate.pending {
scopedLogger.Info().Msg("No updates available")
s.updating = false
s.triggerStateUpdate()
return nil
}