fix a bug where `which' doesn't check whether the file passed as an argument
is a regular file, patch by Arthur Othieno
1 file changed