From 50205c99ec77bd60d99e2df21eee8db24323143b Mon Sep 17 00:00:00 2001 From: Skull Writter <7103685+skullwritter@users.noreply.github.com> Date: Thu, 25 Oct 2018 19:20:08 +0000 Subject: [PATCH 1/2] supose fix to #1526 i cannot see any diference, but on debian it apears that there is an diference. maybe because the system has tis var exported? (DISK) --- bin/v-update-user-counters | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/v-update-user-counters b/bin/v-update-user-counters index 5fcdd671..50b903bd 100755 --- a/bin/v-update-user-counters +++ b/bin/v-update-user-counters @@ -53,6 +53,9 @@ for user in $user_list; do IP_OWNED=0 U_USERS=0 U_DISK=0 + ##supose fix to #1526 i cannot see any diference, but on debian it apears that there is an diference. + ## maybe because the system has tis var exported? (DISK) + DISK=0 U_DISK_DIRS=$(get_user_value '$U_DISK_DIRS') if [ -z "$U_DISK_DIRS" ]; then U_DISK_DIRS=0 From c5ba8b5b652010b75541f9f1d4e258c0f6264b89 Mon Sep 17 00:00:00 2001 From: Anton Reutov Date: Sat, 24 Nov 2018 22:43:21 +0200 Subject: [PATCH 2/2] Update v-update-user-counters --- bin/v-update-user-counters | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/v-update-user-counters b/bin/v-update-user-counters index 50b903bd..b0f94430 100755 --- a/bin/v-update-user-counters +++ b/bin/v-update-user-counters @@ -53,8 +53,6 @@ for user in $user_list; do IP_OWNED=0 U_USERS=0 U_DISK=0 - ##supose fix to #1526 i cannot see any diference, but on debian it apears that there is an diference. - ## maybe because the system has tis var exported? (DISK) DISK=0 U_DISK_DIRS=$(get_user_value '$U_DISK_DIRS') if [ -z "$U_DISK_DIRS" ]; then