|
@@ -770,7 +770,7 @@ function configure_user_interface {
|
770
|
770
|
# Produce a text file on the desktop listing users on the mesh
|
771
|
771
|
cat <<EOF > $rootdir/usr/bin/list-tox-users
|
772
|
772
|
#!/bin/bash
|
773
|
|
-users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d)
|
|
773
|
+users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d | uniq)
|
774
|
774
|
if [ ! \$users_list ]; then
|
775
|
775
|
no_of_users=0
|
776
|
776
|
else
|