summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-12-24 17:40:55 -0500
committerjim-p <jim@pingle.org>2009-12-24 17:55:48 -0500
commit461df7c07acfc884ef2d604ed13ef0ac33bf3de1 (patch)
tree18d9f4baf0c23c905953d28aed7a76614703d385 /etc/inc/auth.inc
parent0fa7902eb13dc696c47bff898226f84dde9d8530 (diff)
downloadpfsense-461df7c07acfc884ef2d604ed13ef0ac33bf3de1.zip
pfsense-461df7c07acfc884ef2d604ed13ef0ac33bf3de1.tar.gz
Remove extra / to avoid having a double slash in the directory name. Also add curly braces around $user_home.
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 3184054..59091f8 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";
OpenPOWER on IntegriCloud