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 */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"