From c179b38d1069fda1899c76dd252234ec58c9efc0 Mon Sep 17 00:00:00 2001 From: Matej Kramny Date: Sat, 25 Jun 2016 02:04:24 +0100 Subject: [PATCH] Fix #136 --- util/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/upgrade.go b/util/upgrade.go index 414eb366..c51b30ad 100644 --- a/util/upgrade.go +++ b/util/upgrade.go @@ -103,7 +103,7 @@ func CheckUpdate(version string) error { UpdateAvailable = nil if (*releases[0].TagName)[1:] != version { - UpdateAvailable = &releases[0] + UpdateAvailable = releases[0] } return nil