- Oops, add a missing "then".

Approved by:	cperciva (mentor, implicit)
This commit is contained in:
Florent Thoumie 2006-04-11 09:14:51 +00:00
parent 66643ebe4c
commit 56f964f063
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157656

View File

@ -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}