change ipfs swarm check

This commit is contained in:
poka 2020-05-18 00:55:43 +02:00
parent 63f5c5ef2b
commit 320ec4907d
1 changed files with 1 additions and 1 deletions

View File

@ -112,6 +112,6 @@ sudo systemctl start ipfs || err "Start IPFS daemon"
sleep 7
echo "Peers: " && ipfs swarm peers
#[[ ! $(ipfs swarm peers) ]] && err "No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues"
[[ $(ipfs swarm peers) == "" ]] && err "No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues"
} # this ensures the entire script is downloaded #