From 461df7c07acfc884ef2d604ed13ef0ac33bf3de1 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 24 Dec 2009 17:40:55 -0500 Subject: [PATCH] Remove extra / to avoid having a double slash in the directory name. Also add curly braces around $user_home. --- etc/inc/auth.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 3184054ed5..59091f88e3 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -234,7 +234,7 @@ function local_user_set(& $user) { $home_base = "/home/"; $user_uid = $user['uid']; $user_name = $user['name']; - $user_home = "{$home_base}/$user_name"; + $user_home = "{$home_base}{$user_name}"; $user_shell = "/etc/rc.initial"; $user_group = "nobody";