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.
This commit is contained in:
Devin Teske 2014-03-14 02:37:39 +00:00
parent 62dca316da
commit 83e449a35a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263133

View File

@ -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