On Sat, 2019-09-14 at 15:35 -0400, Paul Smith wrote: > Set errno to either ENOENT if the program was not found, or another > error if a program was found but was no suitable (i.e., EACCES).
Without this change it's impossible for a program to show the correct error message when the program is found on the path, but is not executable.