- Oops, add a missing "then".
Approved by: cperciva (mentor, implicit)
This commit is contained in:
parent
66643ebe4c
commit
56f964f063
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157656
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user