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))
|
||||
done < "$PEERS_FILE"
|
||||
|
||||
if [ ${ctr} -lt "2" ]; then
|
||||
if [ ${ctr} -lt "1" ]; then
|
||||
echo 'No peers were found'
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue