From 4f9cfa654270ab581871839031e2344063140237 Mon Sep 17 00:00:00 2001 From: Dalton Date: Tue, 16 Jun 2020 17:20:09 -0500 Subject: [PATCH] TUN-3100 make updater report the right text --- cmd/cloudflared/updater/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {