From 320ec4907d1686e0a17dee8dbf4da733afa8f8e7 Mon Sep 17 00:00:00 2001 From: poka Date: Mon, 18 May 2020 00:55:43 +0200 Subject: [PATCH] change ipfs swarm check --- .install/ipfs_alone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #