From 70c18ea234ddba82f31df46449ac1d979a878940 Mon Sep 17 00:00:00 2001 From: dteske Date: Fri, 14 Mar 2014 02:37:39 +0000 Subject: 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. --- usr.sbin/bsdconfig/bsdconfig | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.1