From owner-cvs-all@FreeBSD.ORG Thu Jan 11 00:19:00 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0F4316A407; Thu, 11 Jan 2007 00:19:00 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 79C9B13C465; Thu, 11 Jan 2007 00:19:00 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0B0J0pp095264; Thu, 11 Jan 2007 00:19:00 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0B0J05D095263; Thu, 11 Jan 2007 00:19:00 GMT (envelope-from stefanf) Message-Id: <200701110019.l0B0J05D095263@repoman.freebsd.org> From: Stefan Farfeleder Date: Thu, 11 Jan 2007 00:19:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/sh exec.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 00:19:00 -0000 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