Update v-update-user-quota

This commit is contained in:
Sertaç ÇELİK 2015-10-03 02:45:43 +03:00
commit 362efbe902

View file

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