Date: Thu, 11 Jan 2007 00:19:00 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh exec.c Message-ID: <200701110019.l0B0J05D095263@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2007-01-11 00:19:00 UTC
FreeBSD src repository
Modified files:
bin/sh exec.c
Log:
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.
PR: 107674
Submitted by: Martin Kammerhofer
Revision Changes Path
1.30 +5 -2 src/bin/sh/exec.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701110019.l0B0J05D095263>
