Handle single peers
This commit is contained in:
parent
3fab4e6cbf
commit
17bf660374
|
@ -279,7 +279,7 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||||
ctr=$((ctr + 1))
|
ctr=$((ctr + 1))
|
||||||
done < "$PEERS_FILE"
|
done < "$PEERS_FILE"
|
||||||
|
|
||||||
if [ ${ctr} -lt "2" ]; then
|
if [ ${ctr} -lt "1" ]; then
|
||||||
echo 'No peers were found'
|
echo 'No peers were found'
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue