Skip to content
Snippets Groups Projects
Commit 17bf6603 authored by Bob Mottram's avatar Bob Mottram
Browse files

Handle single peers

parent 3fab4e6c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment