svn commit: r251552 - head/usr.sbin/bsdconfig/console

Devin Teske dteske at FreeBSD.org
Sat Jun 8 20:27:16 UTC 2013


Author: dteske
Date: Sat Jun  8 20:27:16 2013
New Revision: 251552
URL: http://svnweb.freebsd.org/changeset/base/251552

Log:
  Fix a one-character typo. The effects of which were "Console"->"Ttys" menu
  would not launch (and gave no error). This was easily diagnosed by running
  `bsdconfig -d' as root and seeing the following error right after selecting
  the "Ttys" sub-menu:
  
  DEBUG: f_getvar: var=[text] value=[
  Error: Expected at least 6 tokens for --menu, have 4.
  Use --help to list options.] r=0
  
  Typo was introduced by SVN r251361.

Modified:
  head/usr.sbin/bsdconfig/console/ttys

Modified: head/usr.sbin/bsdconfig/console/ttys
==============================================================================
--- head/usr.sbin/bsdconfig/console/ttys	Sat Jun  8 20:21:17 2013	(r251551)
+++ head/usr.sbin/bsdconfig/console/ttys	Sat Jun  8 20:27:16 2013	(r251552)
@@ -86,7 +86,7 @@ dialog_menu_main()
 		--cancel-label \"\$msg_cancel\"    \
 		--menu \"\$prompt\"                \
 		$height $width $rows               \
-		$menu_ist                          \
+		$menu_list                         \
 		2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
 	)
 	local retval=$?


More information about the svn-src-all mailing list