From 3013e249ab9387a690f04ae129729ab1cd9a2cdc Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Fri, 26 Aug 2011 00:00:03 +0300 Subject: [PATCH] fixed setquota bug --- bin/v_add_sys_user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v_add_sys_user b/bin/v_add_sys_user index f94295c89..290473f2c 100755 --- a/bin/v_add_sys_user +++ b/bin/v_add_sys_user @@ -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