mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
removing % from progress
This commit is contained in:
parent
0f6484aa28
commit
f0137407be
1 changed files with 1 additions and 1 deletions
|
@ -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)}' | tr '%' '' | tr -s " ")
|
||||
syncProgress=$(echo $syncProgress | awk '{printf( "%.2f%%", 100 * $1)}' | tr '%' ' ' | tr -s " ")
|
||||
echo "syncProgress=${syncProgress}"
|
||||
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue