From 9a7ee7bca717b52c8e911fddae58284c981c3a6e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 3 Nov 2016 19:41:12 +0000 Subject: [PATCH] List of unique users --- src/freedombone-image-customise | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 82738507..9a34ebec 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -770,7 +770,7 @@ function configure_user_interface { # Produce a text file on the desktop listing users on the mesh cat < $rootdir/usr/bin/list-tox-users #!/bin/bash -users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d) +users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d | uniq) if [ ! \$users_list ]; then no_of_users=0 else