fix for userlist

This commit is contained in:
Serghey Rodin 2016-06-27 01:37:10 +03:00
commit f197bc8041
4 changed files with 54 additions and 55 deletions

View file

@ -39,7 +39,7 @@ fi
# Creating user_list
if [ -z "$user" ]; then
user_list=$(ls $VESTA/data/users)
user_list=$(grep '@' /etc/passwd |cut -f1 -d:)
else
user_list="$user"
fi