Skip to content

Commit 3013e24

Browse files
committed
fixed setquota bug
1 parent 2ee02ea commit 3013e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v_add_sys_user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fi
9999
chmod -R a+x $V_HOME/$user
100100

101101
# Checking quota
102-
if [ ! -z "$DISK_QUOTA" ] && [ "$DISK_QUOTA" != 'off' ]; then
102+
if [ ! -z "$DISK_QUOTA" ] && [ "$DISK_QUOTA" != 'no' ]; then
103103
DISK_QUOTA=$(echo "$package_data"|grep 'DISK_QUOTA' | cut -f 2 -d \')
104104
set_quota "$user" "$DISK_QUOTA"
105105
fi

0 commit comments

Comments
 (0)