Browse Source

Update v-update-user-quota

Sertaç ÇELİK 10 năm trước cách đây
mục cha
commit
362efbe902
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      bin/v-update-user-quota

+ 1 - 1
bin/v-update-user-quota

@@ -33,7 +33,7 @@ is_object_valid 'user' 'USER' "$user"
 # Updating disk quota
 # Updating disk quota
 quota=$(get_user_value '$DISK_QUOTA')
 quota=$(get_user_value '$DISK_QUOTA')
 soft=$((quota * 1000))
 soft=$((quota * 1000))
-hard=$((quota + 50000))
+hard=$((soft + 50000))
 
 
 # Searching home mount point
 # Searching home mount point
 mnt=$(df -P /home |awk '{print $6}' |tail -n1)
 mnt=$(df -P /home |awk '{print $6}' |tail -n1)