diff options
author | Devin Teske <dteske@FreeBSD.org> | 2014-03-14 02:37:39 +0000 |
---|---|---|
committer | Devin Teske <dteske@FreeBSD.org> | 2014-03-14 02:37:39 +0000 |
commit | 83e449a35a822660759e9db58f5a23633682e7c3 (patch) | |
tree | 75251244fcea4acbf15e3748820d929d251c6dae /usr.sbin | |
parent | 62dca316daa0e74862acb643f6eee6f3765cd20f (diff) | |
download | src-83e449a35a822660759e9db58f5a23633682e7c3.tar.gz src-83e449a35a822660759e9db58f5a23633682e7c3.zip |
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.
Notes
Notes:
svn path=/head/; revision=263133
Diffstat (limited to 'usr.sbin')
-rwxr-xr-x | usr.sbin/bsdconfig/bsdconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bsdconfig/bsdconfig b/usr.sbin/bsdconfig/bsdconfig index cc7bd2cf12fb..6d2377dfb23b 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 |