Date: Mon, 4 Jun 2007 11:39:35 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc.subr Message-ID: <200706041139.l54BdZ60008741@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706041139.l54BdZ60008741>
