mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
Update v-add-sys-quota
This commit is contained in:
parent
7973b34f63
commit
dc89a43c3a
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ chmod a+x /etc/cron.daily/quotacheck
|
|||
|
||||
# Enabling group and user quota
|
||||
if [ ! -z "$(quotaon -pa | grep " $mnt " | grep 'user\|group' | grep 'is off')" ]; then
|
||||
quotaon $mnt
|
||||
quotaon -v $mnt
|
||||
check_result $? "quota can't be enabled in $mnt" $E_DISK
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue