diff --git a/cmd/cloudflared/updater/update.go b/cmd/cloudflared/updater/update.go index 4de6b406..6457a4ac 100644 --- a/cmd/cloudflared/updater/update.go +++ b/cmd/cloudflared/updater/update.go @@ -67,7 +67,7 @@ type UpdateOutcome struct { } func (uo *UpdateOutcome) noUpdate() bool { - return uo.Error != nil && uo.Updated == false + return uo.Error == nil && uo.Updated == false } func checkForUpdateAndApply() UpdateOutcome {