diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2021-12-01 09:58:17 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2021-12-01 09:58:17 +0100 |
commit | 885ab27e0caa6b8995a76f6ae5616f0764eba5dc (patch) | |
tree | d66521dda23ce6450b7a81140ab40916700999e8 /client | |
parent | fbe6a384b55a0191dc6a9428286a10c67f1778f6 (diff) |
Clarify Execute() returns error
Diffstat (limited to 'client')
-rw-r--r-- | client/go/cmd/vespa/main.go | 2 |
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) } } |