Explorar el Código

Update v-update-user-quota

Sertaç ÇELİK hace 10 años
padre
commit
362efbe902
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 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)