mirror of
https://github.com/golang/go
synced 2024-11-19 15:14:45 -07:00
exec: better error message for windows LookPath
Fixes #1991. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4648049
This commit is contained in:
parent
6b4fb9f85a
commit
123549acb1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user