Fix a bug that prevented `-d' from working as-documented in sysrc(8).

Rather, prevent a bunch of debugging information from spewing onto the
screen when using the `describe' flag (misinterpreted as `debug' by
the automatatic initialization routines).
This commit is contained in:
Devin Teske 2013-11-07 22:47:52 +00:00
parent 30a919dde7
commit bb28b8697d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257824

View file

@ -28,6 +28,9 @@
#
############################################################ INCLUDES
# Prevent `-d' from being interpreted as a debug flag by common.subr
DEBUG_SELF_INITIALIZE=
BSDCFG_SHARE="/usr/share/bsdconfig"
[ "$_COMMON_SUBR" ] || . $BSDCFG_SHARE/common.subr || exit 1
[ "$_SYSRC_SUBR" ] || f_include $BSDCFG_SHARE/sysrc.subr
@ -179,6 +182,7 @@ jail_depend()
#
# Print include dependencies
#
echo DEBUG_SELF_INITIALIZE=
cat $BSDCFG_SHARE/common.subr
cat $BSDCFG_SHARE/sysrc.subr
}