mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +02:00
debug finsih condition
This commit is contained in:
@@ -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}"
|
||||||
|
Reference in New Issue
Block a user