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