debug finsih condition

This commit is contained in:
rootzoll 2019-02-01 14:18:09 +01:00
parent 72dea6bcea
commit dc3ff2f0ab

View file

@ -57,6 +57,9 @@ while [ ${finished} -eq 0 ]
progress=$(echo "${blockchaininfo}" | jq -r '.verificationprogress')
#progress=$(echo "${progress}*100" | bc)
inprogress="$(echo "${blockchaininfo}" | jq -r '.initialblockdownload')"
if [ "${inprogress}" = "true" ]; then
finished=1
fi
echo ""
echo "PROGRESS: ${progress}"