summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>2011-08-15 20:31:27 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>2011-08-15 20:31:27 +0000
commit8cf781d21c1d73509b653b0e695843ffc3f4c4d9 (patch)
tree9d7158ff8f3f86a85348493d26f2039c1ff30166
parent2dafac3471400850df7bfd62d999e1ad8f339b3b (diff)
parentac30c463e412701f57b6324b04a9ff49fc66d16b (diff)
downloadpw-darwin-8cf781d21c1d73509b653b0e695843ffc3f4c4d9.tar.gz
pw-darwin-8cf781d21c1d73509b653b0e695843ffc3f4c4d9.zip
Integrate FreeBSD/head into projects/zfsd/head as of SVN revision 224870.
-rw-r--r--pw/pw_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c
index b93ca66..db33746 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -163,7 +163,7 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args)
* 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 */