diff options
author | Ermal <eri@pfsense.org> | 2011-01-26 10:17:31 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-01-26 10:17:31 +0000 |
commit | ee4fc984e1169a180457b3a10e011fab04fd0f31 (patch) | |
tree | e23308fc8aa49826a4f88a018d0cd80bc265dcdf /etc/inc/auth.inc | |
parent | 0ad7bcd8344e5def5d8fe6ffff3248dc8332cb22 (diff) | |
download | pfsense-ee4fc984e1169a180457b3a10e011fab04fd0f31.zip pfsense-ee4fc984e1169a180457b3a10e011fab04fd0f31.tar.gz |
Silence warnings.
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index c619004..805ea44 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -410,7 +410,7 @@ function local_user_set(& $user) { /* create user directory if required */ if (!is_dir($user_home)) { mkdir($user_home, 0700); - mwexec("cp /root/.* {$home_base}/"); + mwexec("/bin/cp /root/.* {$home_base}/", true); } chown($user_home, $user_name); chgrp($user_home, $user_group); @@ -1313,4 +1313,4 @@ function session_auth() { return true; } -?>
\ No newline at end of file +?> |