mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
fix missin if
This commit is contained in:
parent
6053468664
commit
e54081c465
@ -14,7 +14,7 @@ fi
|
||||
# verify that bitcoin is running
|
||||
echo "*** Checking ${network} ***"
|
||||
bitcoinRunning=$(systemctl status ${network}d.service 2>/dev/null | grep -c running)
|
||||
[ ${bitcoinRunning} -eq 0 ]; then
|
||||
fi [ ${bitcoinRunning} -eq 0 ]; then
|
||||
#doublecheck
|
||||
bitcoinRunning=$(${network}-cli getblockchaininfo | grep -c verificationprogress)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user