mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 09:50:19 +01:00
fix btc_version display for v23.0.0
This commit is contained in:
parent
8101d467bd
commit
62b40e92b3
@ -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…
Reference in New Issue
Block a user