diff --git a/.bin/golangci/golangci-lint b/.bin/golangci/golangci-lint new file mode 100755 index 0000000000..6a26593f3d Binary files /dev/null and b/.bin/golangci/golangci-lint differ diff --git a/cmd/main.go b/cmd/main.go index 4d29745efc..30c2358ebc 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -397,7 +397,7 @@ func findClosestCommands(commandsTree *trie.Trie, command string) []string { // Check for updates and print a notification message func checkUpdate(ctx *cli.Context) { // Do not print update messages, if quiet flag is set. - if ctx.Bool("quiet") || ctx.GlobalBool("quiet") { + if !ctx.Bool("quiet") || !ctx.GlobalBool("quiet") { // Its OK to ignore any errors during doUpdate() here. if updateMsg, _, currentReleaseTime, latestReleaseTime, _, err := getUpdateInfo("", 2*time.Second); err == nil { printMsg(updateMessage{