From owner-cvs-all@FreeBSD.ORG Mon Jun 4 11:39:36 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 358FB16A492; Mon, 4 Jun 2007 11:39:36 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0F82613C46C; Mon, 4 Jun 2007 11:39:36 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54BdZOj008742; Mon, 4 Jun 2007 11:39:35 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54BdZ60008741; Mon, 4 Jun 2007 11:39:35 GMT (envelope-from yar) Message-Id: <200706041139.l54BdZ60008741@repoman.freebsd.org> From: Yar Tikhiy Date: Mon, 4 Jun 2007 11:39:35 +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/etc rc.subr 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: Mon, 04 Jun 2007 11:39:36 -0000 yar 2007-06-04 11:39:35 UTC FreeBSD src repository Modified files: etc rc.subr Log: Be robust to a bogus script specification or contents when figuring out what the real interpreter is for an interpreted command. That is, check whether we can read the script file in the first place and, if so, make sure we got a valid shebang line from it. Revision Changes Path 1.76 +24 -11 src/etc/rc.subr