Skip to content

Commit 0540a28

Browse files
Kristan Kenneyunknown
authored andcommitted
Fix typos in v-update-user-quota
1 parent 7a0b661 commit 0540a28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/v-update-user-quota

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ is_object_valid 'user' 'USER' "$user"
3030
# Action #
3131
#----------------------------------------------------------#
3232

33-
# Updating disk quota
34-
# Had quota equals package value. Soft quota equals 90% of package value for warnings.
33+
# Update disk quota
34+
# Hard quota quals package value. Soft quota equals 90% of package value.
3535
quota=$(get_user_value '$DISK_QUOTA')
3636
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
4040
mnt=$(df -P /home |awk '{print $6}' |tail -n1)
4141

42-
# Checking unlinmited quota
42+
# Checking unlimited quota
4343
if [ "$quota" = 'unlimited' ]; then
4444
setquota $user 0 0 0 0 $mnt 2>/dev/null
4545
else

0 commit comments

Comments
 (0)