From c19bd0d46b8f07921bb55781cedf531bbe72cfbd Mon Sep 17 00:00:00 2001 From: Siyuan Date: Mon, 17 Nov 2025 12:27:07 +0000 Subject: [PATCH] fix: set updating to false when checking for updates failed --- internal/ota/ota.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ota/ota.go b/internal/ota/ota.go index d0e330fb..6802e316 100644 --- a/internal/ota/ota.go +++ b/internal/ota/ota.go @@ -148,6 +148,7 @@ func (s *State) doUpdate(ctx context.Context, params UpdateParams) error { appUpdate, systemUpdate, err := s.getUpdateStatus(ctx, params) if err != nil { + s.updating = false return s.componentUpdateError("Error checking for updates", err, &scopedLogger) }