aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@yahooinc.com>2021-12-01 09:58:17 +0100
committerHåkon Hallingstad <hakon@yahooinc.com>2021-12-01 09:58:17 +0100
commit885ab27e0caa6b8995a76f6ae5616f0764eba5dc (patch)
treed66521dda23ce6450b7a81140ab40916700999e8 /client
parentfbe6a384b55a0191dc6a9428286a10c67f1778f6 (diff)
Clarify Execute() returns error
Diffstat (limited to 'client')
-rw-r--r--client/go/cmd/vespa/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/cmd/vespa/main.go b/client/go/cmd/vespa/main.go
index 4d2390db324..32828b15aa4 100644
--- a/client/go/cmd/vespa/main.go
+++ b/client/go/cmd/vespa/main.go
@@ -10,7 +10,7 @@ import (
)
func main() {
- if cmd.Execute() != nil {
+ if err := cmd.Execute(); err != nil {
os.Exit(1)
}
}