[vhffs-dev] [svn] commit: r261 - /trunk/vhffs-robots/src/fix_quota.pl

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


Author: gradator
Date: Mon Oct 30 02:04:36 2006
New Revision: 261

Log:
Why this fscking -a is here !?


Modified:
    trunk/vhffs-robots/src/fix_quota.pl

Modified: trunk/vhffs-robots/src/fix_quota.pl
==============================================================================
--- trunk/vhffs-robots/src/fix_quota.pl (original)
+++ trunk/vhffs-robots/src/fix_quota.pl Mon Oct 30 02:04:36 2006
@@ -59,7 +59,7 @@
 		$inodes = $group->get_quota * 1126400 / 100;
 		if( -x "/usr/sbin/setquota" )
 		{
-			$cmd = "/usr/sbin/setquota -g ".$group->get_gid ." ".$blocks." ".$blocks." ".$inodes." ".$inodes." -a ".$vhffs->get_config->get_datadir;
+			$cmd = "/usr/sbin/setquota -g ".$group->get_gid ." ".$blocks." ".$blocks." ".$inodes." ".$inodes." ".$vhffs->get_config->get_datadir;
 			system( $cmd );
 			Vhffs::Robots::vhffs_log( sprintf( "Update quota for group %s set %s" , $group->get_groupname , $group->get_quota ) );
 		}
@@ -76,7 +76,7 @@
 		$inodes = 1126400 / 100;
 		if( -x "/usr/sbin/setquota" )
 		{
-			$cmd = "/usr/sbin/setquota -g ".$user->get_gid ." ".$blocks." ".$blocks." ".$inodes." ".$inodes." -a ".$vhffs->get_config->get_datadir;
+			$cmd = "/usr/sbin/setquota -g ".$user->get_gid ." ".$blocks." ".$blocks." ".$inodes." ".$inodes." ".$vhffs->get_config->get_datadir;
 			system( $cmd );
 			Vhffs::Robots::vhffs_log( sprintf( "Update quota for user group %s set 1" , $user->get_username ) );
 		}




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