mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
fix btc_version display for v23.0.0
This commit is contained in:
parent
8101d467bd
commit
62b40e92b3
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ fi
|
|||
|
||||
if [ "$2" = "status" ]; then
|
||||
|
||||
btc_version=$($bitcoincli_alias -version 2>/dev/null | cut -d ' ' -f6)
|
||||
btc_version=$($bitcoincli_alias -version 2>/dev/null | head -1 | cut -d ' ' -f6)
|
||||
btc_running=$(systemctl status $service_alias 2>/dev/null | grep -c "active (running)")
|
||||
btc_ready="0"
|
||||
btc_online="0"
|
||||
|
|
Loading…
Add table
Reference in a new issue