Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 02:37:39 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263133 - head/usr.sbin/bsdconfig
Message-ID:  <201403140237.s2E2bdWi026315@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Fri Mar 14 02:37:39 2014
New Revision: 263133
URL: http://svnweb.freebsd.org/changeset/base/263133

Log:
  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.

Modified:
  head/usr.sbin/bsdconfig/bsdconfig

Modified: head/usr.sbin/bsdconfig/bsdconfig
==============================================================================
--- head/usr.sbin/bsdconfig/bsdconfig	Fri Mar 14 02:37:07 2014	(r263132)
+++ head/usr.sbin/bsdconfig/bsdconfig	Fri Mar 14 02:37:39 2014	(r263133)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403140237.s2E2bdWi026315>