[vhffs-dev] [724] no comments :p |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 724
Author: gradator
Date: 2007-07-13 15:03:49 +0000 (Fri, 13 Jul 2007)
Log Message:
-----------
no comments :p
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Robots/User.pm
Modified: trunk/vhffs-api/src/Vhffs/Robots/User.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots/User.pm 2007-07-13 13:12:22 UTC (rev 723)
+++ trunk/vhffs-api/src/Vhffs/Robots/User.pm 2007-07-13 15:03:49 UTC (rev 724)
@@ -82,8 +82,8 @@
return -1 unless defined $user;
my $homedir = $user->get_home;
-
- if( Vhffs::Functions::create_dir( $homedir ) ) {
+
+ unless( Vhffs::Functions::create_dir( $homedir ) ) {
chown $user->get_uid , $user->get_gid , $homedir;
chmod oct('1755'), $homedir;