svn commit: r190808 - stable/7/etc/rc.d

Alexey Dokuchaev danfe at FreeBSD.org
Tue Apr 7 10:45:54 PDT 2009


On Tue, Apr 07, 2009 at 04:29:50PM +0000, Maksim Yevmenkin wrote:
> Author: emax
> Date: Tue Apr  7 16:29:50 2009
> New Revision: 190808
> URL: http://svn.freebsd.org/changeset/base/190808
> 
>  ipfw_start()
>  {
> +	local   _firewall_type
> +
> +	_firewall_type=$1 

Why extra tab and not simply "local _firewall_type=$1"?

> -run_rc_command "$1"
> +run_rc_command $*

I haven't looked at the implementation of run_rc_command but "$1"
suggests it should be "$@" instead.

./danfe


More information about the svn-src-stable mailing list