We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa8be7e commit fb027fdCopy full SHA for fb027fd
1 file changed
bin/v-update-user-counters
@@ -80,8 +80,8 @@ for user in $user_list; do
80
81
# Checking users
82
if [ "$user" = 'admin' ]; then
83
- SUSPENDED_USERS=$(grep "SUSPENDED='yes'" $VESTA/data/users/*/user.conf)
84
- SUSPENDED_USERS=$(echo "$SUSPENDED_USERS" |wc -l)
+ spnd=$(grep "SUSPENDED='yes'" $VESTA/data/users/*/user.conf | wc -l)
+ SUSPENDED_USERS=$spnd
85
U_USERS=$(ls $VESTA/data/users/|wc -l)
86
fi
87
0 commit comments