mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 12:10:33 +02:00
fix peernum
This commit is contained in:
@@ -44,7 +44,6 @@ if [ "$1" = "peer-status" ]; then
|
||||
else
|
||||
# user call
|
||||
peerNum=$($bitcoincli_alias getnetworkinfo 2>/dev/null | grep "connections\"" | tr -cd '[[:digit:]]')
|
||||
peerNum=$( getnetworkinfo | grep "connections\"" | tr -cd '[[:digit:]]')
|
||||
fi
|
||||
if [ "${peerNum}" = "" ]; then
|
||||
running=0
|
||||
|
Reference in New Issue
Block a user