-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi Bug Report
lib/func.sh
When at the very last $NEXTURL a parse error is thrown in Ubuntu (funny seems ok in Centos)
What it does is tries to curl a Null URL (and that also throws an exception on my firewall)
I was able to fix that
please consider this code or something similar around line 38
also this fix may be required elsewhere in the code
elif [ "$PAGSTATUS0" == "previous" ]; then
NEXTURL=`echo $jDOMAINSp | jq -r .links[1].href`
if [ "$NEXTURL" == "null" ]
then
break
else
jDOMAINSp=`curl -A "rsdns/$RSDNS_VERSION (https://github.com/linickx/rsdns)" -k -s -X GET -H X-Auth-Token:\ $TOKEN $NEXTURL`
fi
#echo $jDOMAINSp
jDOMAINS+=$jDOMAINSp
else
break
fi
Thanks for developing this it is a really handy Library
Regards Garry Hill
Metadata
Metadata
Assignees
Labels
No labels