svn commit: r243324 - head/etc

Mike Telahun mike.telahun at gmail.com
Tue Nov 20 05:49:18 UTC 2012


> @@ -704,7 +704,10 @@ run_rc_command()
>  
>  		start)
>  			if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
> -				echo 1>&2 "${name} already running? (pid=$rc_pid)."
> +				if [ -z "$rc_quiet" ]; then

Shouldn't this be using checkyesno() ?
What happens if someone has rc_quiet=NO in /etc/rc.conf?

> +					echo 1>&2 "${name} already running? " \
> +					    "(pid=$rc_pid)."
> +				fi
>  				return 1
>  			fi
>  
> 

Cheers,
Mike.


More information about the svn-src-head mailing list