Browse Source

fixed setquota bug

Serghey Rodin 14 years ago
parent
commit
3013e249ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v_add_sys_user

+ 1 - 1
bin/v_add_sys_user

@@ -99,7 +99,7 @@ fi
 chmod -R a+x $V_HOME/$user
 
 # Checking quota
-if [ ! -z "$DISK_QUOTA" ] && [ "$DISK_QUOTA" != 'off' ]; then
+if [ ! -z "$DISK_QUOTA" ] && [ "$DISK_QUOTA" != 'no' ]; then
     DISK_QUOTA=$(echo "$package_data"|grep 'DISK_QUOTA' | cut -f 2 -d \')
     set_quota "$user" "$DISK_QUOTA"
 fi