1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-13 10:07:45 -07:00

fixed setquota bug

This commit is contained in:
Serghey Rodin 2011-08-26 00:00:03 +03:00
commit 3013e249ab

View file

@ -99,7 +99,7 @@ fi
chmod -R a+x $V_HOME/$user
# Checking quota
if [ ! -z "$DISK_QUOTA" ] && [ "$DISK_QUOTA" != 'off' ]; then
if [ ! -z "$DISK_QUOTA" ] && [ "$DISK_QUOTA" != 'no' ]; then
DISK_QUOTA=$(echo "$package_data"|grep 'DISK_QUOTA' | cut -f 2 -d \')
set_quota "$user" "$DISK_QUOTA"
fi