even better

This commit is contained in:
qo-op 2021-06-04 06:07:19 +02:00
parent 3f64b65f3f
commit 5a81a096fb
1 changed files with 1 additions and 1 deletions

View File

@ -49,8 +49,8 @@ do
> /tmp/ipfstryme.clean
for line in $(cat /tmp/ipfstryme.$liking_me);
do
[[ $line == "" ]] && break
ipfsnodeid=$(echo $line | rev | cut -d '/' -f 1 | rev)
[[ $ipfsnodeid == "" ]] && break
[[ ! $(cat /tmp/ipfstryme.clean | grep $ipfsnodeid) ]] && echo $line >> /tmp/ipfstryme.clean
done