diff options
Diffstat (limited to 'src/cmd/goinstall/main.go')
-rw-r--r-- | src/cmd/goinstall/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/goinstall/main.go b/src/cmd/goinstall/main.go index b0f08efdf..f13aeb3bc 100644 --- a/src/cmd/goinstall/main.go +++ b/src/cmd/goinstall/main.go @@ -244,8 +244,7 @@ func quietRun(dir string, stdin []byte, cmd ...string) os.Error { func genRun(dir string, stdin []byte, cmd []string, quiet bool) os.Error { bin, err := exec.LookPath(cmd[0]) if err != nil { - // report binary as well as the error - return os.NewError(cmd[0] + ": " + err.String()) + return err } p, err := exec.Run(bin, cmd, os.Environ(), dir, exec.Pipe, exec.Pipe, exec.MergeWithStdout) if *verbose { |