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/password/password | 1 + usr.sbin/bsdconfig/password/share/password.subr | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'usr.sbin/bsdconfig/password') diff --git a/usr.sbin/bsdconfig/password/password b/usr.sbin/bsdconfig/password/password index e87078a..6b9e57d 100755 --- a/usr.sbin/bsdconfig/password/password +++ b/usr.sbin/bsdconfig/password/password @@ -30,6 +30,7 @@ BSDCFG_SHARE="/usr/share/bsdconfig" . $BSDCFG_SHARE/common.subr || exit 1 +f_dprintf "%s: loading includes..." "$0" f_include $BSDCFG_SHARE/dialog.subr f_include $BSDCFG_SHARE/mustberoot.subr f_include $BSDCFG_SHARE/password/password.subr diff --git a/usr.sbin/bsdconfig/password/share/password.subr b/usr.sbin/bsdconfig/password/share/password.subr index a0d1c50..bf83df7 100644 --- a/usr.sbin/bsdconfig/password/share/password.subr +++ b/usr.sbin/bsdconfig/password/share/password.subr @@ -30,6 +30,7 @@ if [ ! "$_PASSWORD_PASSWORD_SUBR" ]; then _PASSWORD_PASSWORD_SUBR=1 BSDCFG_SHARE="/usr/share/bsdconfig" . $BSDCFG_SHARE/common.subr || exit 1 +f_dprintf "%s: loading includes..." password/password.subr f_include $BSDCFG_SHARE/dialog.subr BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="040.password" @@ -124,4 +125,8 @@ f_dialog_input_password() return $SUCCESS } +############################################################ MAIN + +f_dprintf "%s: Successfully loaded." password/password.subr + fi # ! $_PASSWORD_PASSWORD_SUBR -- cgit v1.1