diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2010-10-27 08:53:22 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2010-10-27 08:53:22 +0000 |
commit | 58b2c9aa4724f3e432e17e17b4d9a99a8f608600 (patch) | |
tree | 797c5f894925e6370f906b4be3a88e41de919ac4 /etc | |
parent | 2601576aec3b2fbcb07e244861f10f37dd690af5 (diff) |
quote $local_rcconf in [ ] and remove eval from rc_start()
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/rc.subr | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |