Commit 123549ac authored by Alex Brainman's avatar Alex Brainman

exec: better error message for windows LookPath

Fixes #1991.

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/4648049
parent 6b4fb9f8
......@@ -38,7 +38,7 @@ func findExecutable(file string, exts []string) (string, os.Error) {
return f, nil
}
}
return ``, ErrNotFound
return ``, os.ENOENT
}
func LookPath(file string) (f string, err os.Error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment