Author: delphij
Date: Mon Mar  5 17:08:42 2012
New Revision: 232550
URL: http://svn.freebsd.org/changeset/base/232550

Log:
  Backout r223115 and restore the historic behavior (create the
  default base directory in pw.conf).

Modified:
  stable/8/usr.sbin/pw/pw_user.c
Directory Properties:
  stable/8/usr.sbin/pw/   (props changed)

Modified: stable/8/usr.sbin/pw/pw_user.c
==============================================================================
--- stable/8/usr.sbin/pw/pw_user.c      Mon Mar  5 17:06:34 2012        
(r232549)
+++ stable/8/usr.sbin/pw/pw_user.c      Mon Mar  5 17:08:42 2012        
(r232550)
@@ -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 */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to