mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-30 09:00:26 +08:00
TUN-3100 make updater report the right text
This commit is contained in:
@@ -67,7 +67,7 @@ type UpdateOutcome struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (uo *UpdateOutcome) noUpdate() bool {
|
func (uo *UpdateOutcome) noUpdate() bool {
|
||||||
return uo.Error != nil && uo.Updated == false
|
return uo.Error == nil && uo.Updated == false
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkForUpdateAndApply() UpdateOutcome {
|
func checkForUpdateAndApply() UpdateOutcome {
|
||||||
|
|||||||
Reference in New Issue
Block a user