Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 18:44:55 +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: r252002 - head/usr.sbin/bsdconfig/startup
Message-ID:  <201306191844.r5JIitVT029216@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Wed Jun 19 18:44:55 2013
New Revision: 252002
URL: http://svnweb.freebsd.org/changeset/base/252002

Log:
  Style -- no ;; needed on fallback clause within case-statement.

Modified:
  head/usr.sbin/bsdconfig/startup/misc
  head/usr.sbin/bsdconfig/startup/rcvar

Modified: head/usr.sbin/bsdconfig/startup/misc
==============================================================================
--- head/usr.sbin/bsdconfig/startup/misc	Wed Jun 19 18:32:18 2013	(r252001)
+++ head/usr.sbin/bsdconfig/startup/misc	Wed Jun 19 18:44:55 2013	(r252002)
@@ -347,7 +347,7 @@ while :; do
 	case "$mtag" in
 	"X $msg_exit") break ;;
 	?" [X] "*) toggled=1 ;;
-	        *) toggled=  ;;
+	        *) toggled=
 	esac
 
 	case "$mtag" in

Modified: head/usr.sbin/bsdconfig/startup/rcvar
==============================================================================
--- head/usr.sbin/bsdconfig/startup/rcvar	Wed Jun 19 18:32:18 2013	(r252001)
+++ head/usr.sbin/bsdconfig/startup/rcvar	Wed Jun 19 18:44:55 2013	(r252002)
@@ -205,8 +205,8 @@ while :; do
 
 		# Determine the new [toggled] value to use
 		case "$value" in
-		"[X]"*) value="NO"  ;;
-		     *) value="YES" ;;
+		"[X]"*) value="NO" ;;
+		     *) value="YES"
 		esac
 
 		err=$( f_sysrc_set "$rcvar" "$value" 2>&1 ) ||



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