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:
parent
30a919dde7
commit
bb28b8697d
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user