cvs commit: src/bin/sh exec.c
stefanf at FreeBSD.org
Thu Jan 11 00:19:00 UTC 2007
stefanf 2007-01-11 00:19:00 UTC
FreeBSD src repository
Return an error status (127) from the builtins 'type' and 'command' (with
either -v or -V) if a file with a slash in the name doesn't exist (if there is
no slash we already did that).
Additionally, suppress the error message for command -v for files with a slash.
Submitted by: Martin Kammerhofer
Revision Changes Path
1.30 +5 -2 src/bin/sh/exec.c
More information about the cvs-src