forked from axiom-team/astroport
change ipfs swarm check
This commit is contained in:
parent
63f5c5ef2b
commit
320ec4907d
|
@ -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 #
|
||||
|
|
Loading…
Reference in New Issue