diff --git a/zen/gchange_IPFS_swarm.sh b/zen/gchange_IPFS_swarm.sh index f9cf1f6..537cfcf 100755 --- a/zen/gchange_IPFS_swarm.sh +++ b/zen/gchange_IPFS_swarm.sh @@ -77,7 +77,7 @@ do ping -c 1 -W 1 $stationip 2>&1>/dev/null && sping="OK" || sping="NOK" echo "## $sping PING $stationip STATION $ipfsnodeid" [[ $ipfsnodeid == "" ]] && break - [[ ! $(cat /tmp/ipfstryme.clean | grep $ipfsnodeid) ]] && [[ "$sping" == "OK" ]] && echo $line >> /tmp/ipfstryme.clean + [[ ! $(cat /tmp/ipfstryme.clean | grep $ipfsnodeid) ]] && echo $line >> /tmp/ipfstryme.clean done cat /tmp/ipfstryme.clean | sort | uniq > /tmp/ipfstryme.$liking_me