Remove extra / to avoid having a double slash in the directory name. Also add curly braces around $user_home.

This commit is contained in:
jim-p 2009-12-24 17:40:55 -05:00
parent 0fa7902eb1
commit 461df7c07a

View File

@ -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";