mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 15:10:38 +01:00
debug finsih condition
This commit is contained in:
parent
72dea6bcea
commit
dc3ff2f0ab
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ while [ ${finished} -eq 0 ]
|
||||||
progress=$(echo "${blockchaininfo}" | jq -r '.verificationprogress')
|
progress=$(echo "${blockchaininfo}" | jq -r '.verificationprogress')
|
||||||
#progress=$(echo "${progress}*100" | bc)
|
#progress=$(echo "${progress}*100" | bc)
|
||||||
inprogress="$(echo "${blockchaininfo}" | jq -r '.initialblockdownload')"
|
inprogress="$(echo "${blockchaininfo}" | jq -r '.initialblockdownload')"
|
||||||
|
if [ "${inprogress}" = "true" ]; then
|
||||||
|
finished=1
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "PROGRESS: ${progress}"
|
echo "PROGRESS: ${progress}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue