Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 12:24:29 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc rc
Message-ID:  <20010930122429.G40556@curie.physics.purdue.edu>
In-Reply-To: <20010930160801.A30603@alaska.cert.siemens.de>; from udo.schweigert@siemens.com on Sun, Sep 30, 2001 at 04:08:01PM %2B0200
References:  <200109250155.f8P1tMR19221@freefall.freebsd.org> <20010930160801.A30603@alaska.cert.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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}"

-- 
wca

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?20010930122429.G40556>