mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
fixed admin suspended_users counter
This commit is contained in:
parent
fa8be7edb0
commit
fb027fda84
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ for user in $user_list; do
|
|||
|
||||
# Checking users
|
||||
if [ "$user" = 'admin' ]; then
|
||||
SUSPENDED_USERS=$(grep "SUSPENDED='yes'" $VESTA/data/users/*/user.conf)
|
||||
SUSPENDED_USERS=$(echo "$SUSPENDED_USERS" |wc -l)
|
||||
spnd=$(grep "SUSPENDED='yes'" $VESTA/data/users/*/user.conf | wc -l)
|
||||
SUSPENDED_USERS=$spnd
|
||||
U_USERS=$(ls $VESTA/data/users/|wc -l)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue