Handle single peers

This commit is contained in:
Bob Mottram 2015-08-30 10:52:22 +01:00
parent 3fab4e6cbf
commit 17bf660374
1 changed files with 1 additions and 1 deletions

View File

@ -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