mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Avoid user stats for the user that is not created from Vesta
This commit is contained in:
parent
21dd9fae6d
commit
5ab9fc5f4a
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ TOTAL_USERS=0
|
|||
|
||||
# Updating user stats
|
||||
for user in $user_list; do
|
||||
if [ ! -f "$VESTA/data/users/$user/user.conf" ]; then
|
||||
continue;
|
||||
fi
|
||||
USER_DATA=$VESTA/data/users/$user
|
||||
source $USER_DATA/user.conf
|
||||
next_month=$(date +'%m/01/%y' -d '+ 1 month')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue