]> Cypherpunks repositories - gostls13.git/commit
cmd/go: use normal code 2 for 'no such tool'
authorRob Pike <r@golang.org>
Sun, 16 Oct 2016 18:13:37 +0000 (11:13 -0700)
committerRob Pike <r@golang.org>
Sun, 16 Oct 2016 22:29:39 +0000 (22:29 +0000)
commitca28620db9392d5aa1002256e41bd066f0cc6377
tree37509a1366853fe93593c3ec20e66744d1a4e1c1
parent1bcfca0563ce21dce69b2652859d6f0f800c39af
cmd/go: use normal code 2 for 'no such tool'

Exit code 3 is unprecedented and inconsistent with other failures here,
such as having no tool directory.

Fixes #17145

Change-Id: Ie7ed56494d4511a600214666ce3a726d63a8fd8e
Reviewed-on: https://go-review.googlesource.com/31253
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/tool.go