Skip to content

Commit 828c845

Browse files
Merge pull request hestiacp#1554 from vsitnic/master
set softquota=hardquota
2 parents d0b1fa6 + 9148f7c commit 828c845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-user-quota

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ is_object_valid 'user' 'USER' "$user"
3333
# Updating disk quota
3434
# Had quota equals package value. Soft quota equals 90% of package value for warnings.
3535
quota=$(get_user_value '$DISK_QUOTA')
36-
soft=$(echo "$quota * 1024 * 0.90"|bc |cut -f 1 -d .)
36+
soft=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
3737
hard=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
3838

3939
# Searching home mount point

0 commit comments

Comments
 (0)