summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/console
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-06-08 20:27:16 +0000
committerdteske <dteske@FreeBSD.org>2013-06-08 20:27:16 +0000
commitcac59a27d8814548582240bfdf0f2c311e715cac (patch)
treed80c80da0e15971ae7de7d16adf4243512fcec94 /usr.sbin/bsdconfig/console
parent689931713b86e8aa154e1b7d317e2930477a39a9 (diff)
downloadFreeBSD-src-cac59a27d8814548582240bfdf0f2c311e715cac.zip
FreeBSD-src-cac59a27d8814548582240bfdf0f2c311e715cac.tar.gz
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.
Diffstat (limited to 'usr.sbin/bsdconfig/console')
-rwxr-xr-xusr.sbin/bsdconfig/console/ttys2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/console/ttys b/usr.sbin/bsdconfig/console/ttys
index 02b5c62..626d7c9 100755
--- a/usr.sbin/bsdconfig/console/ttys
+++ b/usr.sbin/bsdconfig/console/ttys
@@ -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=$?
OpenPOWER on IntegriCloud