diff --git a/src/freedombone-meshweb b/src/freedombone-meshweb index 42e53cf1..167adb08 100755 --- a/src/freedombone-meshweb +++ b/src/freedombone-meshweb @@ -6,6 +6,8 @@ # the freedombone-client script installed SERVER_INSTALLATION="no" +PEERS_FILE=/tmp/meshwebstart + ZERONET_REPO='https://github.com/bashrc/ZeroNet' ZERONET_DIR=~/zeronet ZERONET_URL=http://127.0.0.1:43110 @@ -59,6 +61,8 @@ while IFS='' read -r line || [[ -n "$line" ]]; do ctr=$((ctr + 1)) done < "$PEERS_FILE" +rm $PEERS_FILE + if [ ${ctr} -lt "1" ]; then echo 'No peers were found' exit 0