remove % from progress

This commit is contained in:
Christian Rotzoll 2019-04-16 21:39:04 +01:00
parent fb9c35dbbb
commit 0f6484aa28

View file

@ -50,7 +50,7 @@ if [ ${bitcoinRunning} -eq 1 ]; then
# get blockchain sync progress
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}"
fi