fix missin if

This commit is contained in:
rootzoll 2018-08-24 12:41:32 +02:00
parent 6053468664
commit e54081c465

View File

@ -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