Browse Source

Handle single peers

Bob Mottram 9 years ago
parent
commit
17bf660374
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-mesh

+ 1
- 1
src/freedombone-mesh View File

@@ -279,7 +279,7 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
279 279
     ctr=$((ctr + 1))
280 280
 done < "$PEERS_FILE"
281 281
 
282
-if [ ${ctr} -lt "2" ]; then
282
+if [ ${ctr} -lt "1" ]; then
283 283
    echo 'No peers were found'
284 284
    exit 0
285 285
 fi