summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2014-03-14 02:37:39 +0000
committerdteske <dteske@FreeBSD.org>2014-03-14 02:37:39 +0000
commit70c18ea234ddba82f31df46449ac1d979a878940 (patch)
tree75251244fcea4acbf15e3748820d929d251c6dae
parent3287a8bdc30fc28de1e0d36e52518ee2d0174696 (diff)
downloadFreeBSD-src-70c18ea234ddba82f31df46449ac1d979a878940.zip
FreeBSD-src-70c18ea234ddba82f31df46449ac1d979a878940.tar.gz
Remove indexfile from debug statement as it is already logged by
f_index_menusel_command() used just-prior to this debug statement. Also, log the arguments being passed to the resword.
-rwxr-xr-xusr.sbin/bsdconfig/bsdconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bsdconfig/bsdconfig b/usr.sbin/bsdconfig/bsdconfig
index cc7bd2c..6d2377d 100755
--- a/usr.sbin/bsdconfig/bsdconfig
+++ b/usr.sbin/bsdconfig/bsdconfig
@@ -315,8 +315,7 @@ if [ "$pgm" != "bsdconfig" ]; then
if indexfile=$( f_index_file "$pgm" ) &&
cmd=$( f_index_menusel_command "$indexfile" "$pgm" )
then
- f_dprintf "pgm=[%s] indexfile=[%s] cmd=[%s]" \
- "$pgm" "$indexfile" "$cmd"
+ f_dprintf "pgm=[%s] cmd=[%s] *=[%s]" "$pgm" "$cmd" "$*"
exec "$cmd" "$@" || exit 1
else
f_include $BSDCFG_SHARE/script.subr
OpenPOWER on IntegriCloud