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:
parent
62dca316da
commit
83e449a35a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user