Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2013 20:27:16 +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: r251552 - head/usr.sbin/bsdconfig/console
Message-ID:  <201306082027.r58KRGLU097590@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=$?



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