diff --git a/src/zeronetavahi b/src/zeronetavahi index 95b0d5f10da35338c08e82648cd3ba985d7bd377..374897ecfe71efe4a0a6d1b6255303301bbefd8c 100755 --- a/src/zeronetavahi +++ b/src/zeronetavahi @@ -109,7 +109,9 @@ function ipfs_bootstrap { } function detect_tox_users { - lstox > $TEMPFILE + # don't show the first peer field + lstox | awk -F ' ' '{$1=""; print $0}' | sed -e 's/^[[:space:]]*//' | sort -d > $TEMPFILE + toxctr=0 echo '<ol type="square">' >> $TOX_USERS_FILE.new while IFS='' read -r line || [[ -n "$line" ]]; do