Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 03:25:34 +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: r263145 - head/usr.sbin/bsdconfig/usermgmt/share
Message-ID:  <201403140325.s2E3PY49047933@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Fri Mar 14 03:25:33 2014
New Revision: 263145
URL: http://svnweb.freebsd.org/changeset/base/263145

Log:
  Fix comments and whitespace.

Modified:
  head/usr.sbin/bsdconfig/usermgmt/share/group.subr

Modified: head/usr.sbin/bsdconfig/usermgmt/share/group.subr
==============================================================================
--- head/usr.sbin/bsdconfig/usermgmt/share/group.subr	Fri Mar 14 03:15:02 2014	(r263144)
+++ head/usr.sbin/bsdconfig/usermgmt/share/group.subr	Fri Mar 14 03:25:33 2014	(r263145)
@@ -163,7 +163,7 @@ f_group_add()
 			   elif [ "$group_password" ]; then
 			   	echo "$group_password" |
 			   		f_eval_catch $funcname \
-			   		pw '%s -h 0' "$cmd"
+			   			pw '%s -h 0' "$cmd"
 			   else
 			   	f_eval_catch $funcname pw '%s' "$cmd"
 			   fi && break
@@ -324,7 +324,9 @@ f_group_delete()
 # 		unchanged.
 # 	VAR_GROUP_MEMBERS [Optional]
 # 		Comma separated list of users that are a member of this group.
-# 		If NULL or unset, group membership is unmodified.
+# 		If set but NULL, group memberships are reset (no users will be
+# 		a member of this group). If unset, group membership is
+# 		unmodified.
 # 	VAR_GROUP_PASSWORD [Optional]
 # 		newgrp(1) password to set for the group. If unset, the password
 # 		is unmodified. If NULL, the newgrp(1) password is disabled.
@@ -409,9 +411,8 @@ f_group_edit()
 			   if [ "$group_password_disable" ]; then
 			   	f_eval_catch $funcname pw '%s -h -' "$cmd"
 			   elif [ "$group_password" ]; then
-			   	echo "$group_password" |
-			   		f_eval_catch $funcname \
-			   			pw '%s -h 0' "$cmd"
+			   	echo "$group_password" | f_eval_catch \
+			   		$funcname pw '%s -h 0' "$cmd"
 			   else
 			   	f_eval_catch $funcname pw '%s' "$cmd"
 			   fi && break
@@ -424,7 +425,7 @@ f_group_edit()
 
 			   if ! f_input_group "$mtag"; then
 			   	f_show_err "$msg_group_not_found" "$mtag"
-			   	# Attempt to fall back to prevoius selection
+			   	# Attempt to fall back to previous selection
 			   	f_input_group "$input" || return $FAILURE
 			   else
 			   	input="$mtag"



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