From aa703b25c09ae59c8f17176570221deed1999284 Mon Sep 17 00:00:00 2001 From: dteske Date: Tue, 25 Dec 2012 10:47:45 +0000 Subject: Add more debugging to help with diagnosis of program-flow when needed. --- usr.sbin/bsdconfig/share/sysrc.subr | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bsdconfig/share/sysrc.subr') diff --git a/usr.sbin/bsdconfig/share/sysrc.subr b/usr.sbin/bsdconfig/share/sysrc.subr index 1ee70e6..36a550e 100644 --- a/usr.sbin/bsdconfig/share/sysrc.subr +++ b/usr.sbin/bsdconfig/share/sysrc.subr @@ -32,7 +32,10 @@ BSDCFG_SHARE="/usr/share/bsdconfig" [ "$_COMMON_SUBR" ] || . $BSDCFG_SHARE/common.subr || exit 1 BSDCFG_LIBE="/usr/libexec/bsdconfig" -[ ! "$_SYSRC_JAILED" ] && f_include_lang $BSDCFG_LIBE/include/messages.subr +if [ ! "$_SYSRC_JAILED" ]; then + f_dprintf "%s: loading includes..." sysrc.subr + f_include_lang $BSDCFG_LIBE/include/messages.subr +fi ############################################################ CONFIGURATION @@ -623,4 +626,8 @@ f_sysrc_delete() done } +############################################################ MAIN + +f_dprintf "%s: Successfully loaded." sysrc.subr + fi # ! $_SYSRC_SUBR -- cgit v1.1