Skip to content

Commit

Permalink
Merge pull request outroll#1554 from vsitnic/master
Browse files Browse the repository at this point in the history
set softquota=hardquota
  • Loading branch information
serghey-rodin authored May 31, 2018
2 parents d0b1fa6 + 9148f7c commit 828c845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/v-update-user-quota
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ is_object_valid 'user' 'USER' "$user"
# Updating disk quota
# Had quota equals package value. Soft quota equals 90% of package value for warnings.
quota=$(get_user_value '$DISK_QUOTA')
soft=$(echo "$quota * 1024 * 0.90"|bc |cut -f 1 -d .)
soft=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
hard=$(echo "$quota * 1024"|bc |cut -f 1 -d .)

# Searching home mount point
Expand Down

0 comments on commit 828c845

Please sign in to comment.