Date: Sun, 30 Sep 2001 20:17:56 +0200 From: Udo Schweigert <udo.schweigert@siemens.com> To: Will Andrews <will@physics.purdue.edu> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc Message-ID: <20010930201756.A39425@alaska.cert.siemens.de> In-Reply-To: <20010930122429.G40556@curie.physics.purdue.edu> References: <200109250155.f8P1tMR19221@freefall.freebsd.org> <20010930160801.A30603@alaska.cert.siemens.de> <20010930122429.G40556@curie.physics.purdue.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 30, 2001 at 12:24:29 -0500, Will Andrews wrote: > On Sun, Sep 30, 2001 at 04:08:01PM +0200, Udo Schweigert (udo.schweigert@siemens.com) wrote: >> This gives a message if the startup directory is empty. The attached patch >> fixes this. >> > > Shouldn't that be: > >> --- rc.orig Sun Sep 30 15:39:29 2001 >> +++ rc Sun Sep 30 15:53:33 2001 >> @@ -807,7 +807,9 @@ >> trap 'exit 1' 2 >> ${script} start) >> else >> - echo "Skipping ${script}, not executable" >> + if [ -f "${script}" ]; then > if [ ! -x '${script}" ]; then > >> + echo "Skipping ${script}, not executable" >> + fi >> fi >> done >> IFS="${script_save_sep}" > Yes, that's better. Best regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 CT IC 3, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010930201756.A39425>