From 25df6ed31e610e0f9cea1d58f15d7a743cc48916 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 18 May 2021 01:45:11 +0200 Subject: [PATCH] [[ "$XID" != "" ]] && ipfs bootstrap add "$peerline" --- zen/ipfs_SWARM_refresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index fbf07fe..1e662c5 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -89,7 +89,7 @@ do continue fi fi - ipfs bootstrap add "$peerline" + [[ "$XID" != "" ]] && ipfs bootstrap add "$peerline" echo "OK Friend REFRESH /ipns/$ipfsnodeid INTO ~/.zen/ipfs_swarm/" $MY_PATH/tools/timeout.sh -t 12 ipfs get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$ipfsnodeid if [ $? != 0 ]; then