aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2006-04-11 09:14:51 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2006-04-11 09:14:51 +0000
commit56f964f063b4f5b942a95ae5bbaa270b6278ec14 (patch)
treec4ccd25d444945020b955203d8864430c8c96a90 /etc
parent66643ebe4c36535655b5748204a11e6400a492f2 (diff)
downloadsrc-56f964f063b4f5b942a95ae5bbaa270b6278ec14.tar.gz
src-56f964f063b4f5b942a95ae5bbaa270b6278ec14.zip
- Oops, add a missing "then".
Approved by: cperciva (mentor, implicit)
Notes
Notes: svn path=/head/; revision=157656
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 7eb390001608..eafcd765a5f8 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -903,7 +903,7 @@ load_rc_config()
if [ -f /etc/rc.conf.d/${_name} -a ${etcdir} != "/etc" ]; then
debug "Sourcing /etc/rc.conf.d/${_name}"
warn "Warning: /etc/rc.conf.d/${_name} is deprecated, please use ${etcdir}/rc.conf.d/${_name} instead."
- if [ -f ${etcdir}/rc.conf.d/${_name} ]
+ if [ -f ${etcdir}/rc.conf.d/${_name} ]; then
warn "Warning: Both /etc/rc.conf.d/${_name} and ${etcdir}/rc.conf.d/${_name} exist."
fi
. /etc/rc.conf.d/${_name}