[vhffs-dev] [535] What the hell ?

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 535
Author:   gradator
Date:     2007-03-30 20:22:05 +0000 (Fri, 30 Mar 2007)

Log Message:
-----------
What the hell ?

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Robots/User.pm
    trunk/vhffs-api/src/Vhffs/Robots/User.pm


Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Robots/User.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Robots/User.pm	2007-03-29 07:01:26 UTC (rev 534)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Robots/User.pm	2007-03-30 20:22:05 UTC (rev 535)
@@ -65,11 +65,8 @@
 
 		if( $homedir && -d $homedir )
 		{
-			$cmd = "rm -f $homedir/*";
+			$cmd = "rm -rf $homedir";
 			system( $cmd );
-
-			$cmd = "rmdir $homedir";
-			system( $cmd );
 		}
 	}
 

Modified: trunk/vhffs-api/src/Vhffs/Robots/User.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots/User.pm	2007-03-29 07:01:26 UTC (rev 534)
+++ trunk/vhffs-api/src/Vhffs/Robots/User.pm	2007-03-30 20:22:05 UTC (rev 535)
@@ -92,11 +92,8 @@
 
 		if( $homedir && -d $homedir )
 		{
-			$cmd = "rm -f $homedir/*";
+			$cmd = "rm -rf $homedir";
 			system( $cmd );
-
-			$cmd = "rmdir $homedir";
-			system( $cmd );
 		}
 	}
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/