Browse Source

quote $local_rcconf in [ ] and remove eval from rc_start()

OPENBSD_4_9
robert 14 years ago
parent
commit
65db6172a9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc.d/rc.subr

+ 2
- 2
src/etc/rc.d/rc.subr View File

@ -1,4 +1,4 @@
[ -z $local_rcconf ] && . /etc/rc.conf
[ -z "$local_rcconf" ] && . /etc/rc.conf
rc_err() { rc_err() {
echo $1 echo $1
@ -7,7 +7,7 @@ rc_err() {
rc_start() { rc_start() {
type rc_pre >/dev/null && rc_pre type rc_pre >/dev/null && rc_pre
eval $daemon $daemon_flags
$daemon $daemon_flags
} }
rc_check() { rc_check() {


Loading…
Cancel
Save