diff --git a/.install/ipfs_alone.sh b/.install/ipfs_alone.sh index 6685231..1db7e63 100644 --- a/.install/ipfs_alone.sh +++ b/.install/ipfs_alone.sh @@ -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 #