From 58b2c9aa4724f3e432e17e17b4d9a99a8f608600 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Wed, 27 Oct 2010 08:53:22 +0000 Subject: quote $local_rcconf in [ ] and remove eval from rc_start() --- etc/rc.d/rc.subr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 1b712fa0b86..bed57966a4b 100644 --- a/etc/rc.d/rc.subr +++ b/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -[ -z $local_rcconf ] && . /etc/rc.conf +[ -z "$local_rcconf" ] && . /etc/rc.conf rc_err() { echo $1 @@ -7,7 +7,7 @@ rc_err() { rc_start() { type rc_pre >/dev/null && rc_pre - eval $daemon $daemon_flags + $daemon $daemon_flags } rc_check() { -- cgit v1.2.3