mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
remove % from progress
This commit is contained in:
@@ -50,7 +50,7 @@ if [ ${bitcoinRunning} -eq 1 ]; then
|
|||||||
|
|
||||||
# get blockchain sync progress
|
# get blockchain sync progress
|
||||||
syncProgress="$(echo ${blockchaininfo} | jq -r '.verificationprogress')"
|
syncProgress="$(echo ${blockchaininfo} | jq -r '.verificationprogress')"
|
||||||
syncProgress=$(echo $syncProgress | awk '{printf( "%.2f%", 100 * $1)}')
|
syncProgress=$(echo $syncProgress | awk '{printf( "%.2f%%", 100 * $1)}' | tr '%' '' | tr -s " ")
|
||||||
echo "syncProgress=${syncProgress}"
|
echo "syncProgress=${syncProgress}"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user