Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2012 18:01:07 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r232696 - releng/8.3/usr.sbin/pw
Message-ID:  <201203081801.q28I17dX055480@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Thu Mar  8 18:01:07 2012
New Revision: 232696
URL: http://svn.freebsd.org/changeset/base/232696

Log:
  MFS r232550:
  
  Backout r223115 and restore the historic behavior (create the
  default base directory in pw.conf).
  
  Approved by:	re (kib)

Modified:
  releng/8.3/usr.sbin/pw/pw_user.c
Directory Properties:
  releng/8.3/usr.sbin/pw/   (props changed)

Modified: releng/8.3/usr.sbin/pw/pw_user.c
==============================================================================
--- releng/8.3/usr.sbin/pw/pw_user.c	Thu Mar  8 15:27:29 2012	(r232695)
+++ releng/8.3/usr.sbin/pw/pw_user.c	Thu Mar  8 18:01:07 2012	(r232696)
@@ -170,7 +170,7 @@ pw_user(struct userconf * cnf, int mode,
 	 * If we'll need to use it or we're updating it,
 	 * then create the base home directory if necessary
 	 */
-	if ((arg != NULL || getarg(args, 'm') != NULL) && (getarg(args, 'd') == NULL)) {
+	if (arg != NULL || getarg(args, 'm') != NULL) {
 		int	l = strlen(cnf->home);
 
 		if (l > 1 && cnf->home[l-1] == '/')	/* Shave off any trailing path delimiter */



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