From e96cae2a557e41b5eb66d1b57483be361cacfcee Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 2 Aug 2016 22:46:28 +0100 Subject: [PATCH] Don't show default data tox users These users have not set a profile name and so are probably not active --- src/zeronetavahi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zeronetavahi b/src/zeronetavahi index 374897ec..03b03e6e 100755 --- a/src/zeronetavahi +++ b/src/zeronetavahi @@ -115,7 +115,7 @@ function detect_tox_users { toxctr=0 echo '
    ' >> $TOX_USERS_FILE.new while IFS='' read -r line || [[ -n "$line" ]]; do - if [[ $line != "Failed*" ]]; then + if [[ $line != "Failed*" && $line != "data "* ]]; then echo "
  1. $line
  2. " >> $TOX_USERS_FILE.new toxctr=$((toxctr + 1)) fi