diff options
Diffstat (limited to 'pkg/config/version/checknewer.go')
-rw-r--r-- | pkg/config/version/checknewer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/config/version/checknewer.go b/pkg/config/version/checknewer.go index 4b89c34..115696a 100644 --- a/pkg/config/version/checknewer.go +++ b/pkg/config/version/checknewer.go @@ -48,9 +48,9 @@ func CanUpgrade() bool { if os.Getenv("DEBUG") == "1" { log.Println(">>> Remote version: " + r) log.Println(">>> Current version: " + VERSION) - if canUpgrade { - log.Println("Newer version available") - } + } + if canUpgrade { + log.Println("There's a newer version available:", r) } return canUpgrade } |